diff --git a/.prettierignore b/.prettierignore index 6feb225..179c05f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ node_modules dist public +*.md \ No newline at end of file diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..53da1f4 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,21 @@ + +## Browser + +- [ ] Chromium Based +- [ ] Firefox Based +- [ ] Other + +. + +## Expected Behaviour + + + + +## Actual Behaviour + + + +## Misc. ( optional ) + + \ No newline at end of file diff --git a/README.md b/README.md index 339263e..6f084e1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# \[WIP\] Hyperpipe +# [WIP] Hyperpipe ![On Codeberg](https://codeberg.org/Hyperpipe/static/raw/branch/master/on-codeberg.svg) @@ -13,9 +13,9 @@ A Privacy Respecting Frontend for YouTube Music inspired and built with the help - Bugs - Messy Code -- Stuff the used to work to Break in the future. +- Stuff that used to work to break in the future. -_But if you see any on the following, Please open an issue_ +_But if you see any of the following, Please open an issue_ ## Usage @@ -49,15 +49,21 @@ npm run build | :--------------------------: | :---------------: | | [hyperpipe.surge.sh][hypipe] | 🇩🇪 | + ## LICENSE ### GPL v3 Only Please refer to [LICENSE][license]. -You can reach out to me on +## Help + +Feel free to join in on [Matrix!](https://matrix.to/#/#hyperpipe:nitro.chat) + +You can reach out to me personally on: - snematoda [dot] 751k2 [at] aleeas [dot] com +- [Matrix - @snematoda:nitro.chat ](https://matrix.to/#/@snematoda:nitro.chat) ### Dependencies and Mentions diff --git a/src/App.vue b/src/App.vue index 2e3e848..9e63a04 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,6 +8,7 @@ import NowPlaying from './components/NowPlaying.vue'; import Search from './components/Search.vue'; import NewPlaylist from './components/NewPlaylist.vue'; import Playlists from './components/Playlists.vue'; +import Lyrics from './components/Lyrics.vue'; import Artist from './components/Artist.vue'; import Prefs from './components/Prefs.vue'; @@ -31,7 +32,9 @@ const data = reactive({ duration: 0, time: 0, showplaylist: false, + showlyrics: false, loop: false, + lyrics: '', }); const artist = reactive({ @@ -210,13 +213,15 @@ async function getArtist(e) { async function getNext(hash) { if ( !data.urls || - data.urls.filter(s => s.url == data.url) || + !data.urls.filter(s => s.url == data.url)[0] || data.urls.length == 1 ) { const json = await getJson( 'https://hyperpipeapi.onrender.com/next/' + hash, ); + data.lyrics = json.lyricsId; + data.url = '/watch?v=' + json.songs[0].id; console.log(json); @@ -432,16 +437,24 @@ onMounted(() => { :urls="data.urls" :show="data.showplaylist" /> + +