From f48149d0c94ad6f7d000fa88f7bba88a58f80744 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Sun, 2 Oct 2022 16:49:55 +0000 Subject: [PATCH] Hotfixes --- README.md | 2 +- src/App.vue | 2 +- src/components/Charts.vue | 17 ++++++++++++++++- src/components/NowPlaying.vue | 2 -- src/components/Search.vue | 1 + src/components/SongItem.vue | 10 ++++------ src/stores/results.js | 8 ++++++-- 7 files changed, 29 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4e923e2..a0632ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hyperpipe -![Logo](https://codeberg.org/Hyperpipe/Hyperpipe/raw/branch/main/public/android-chrome-192x192.png) +![Logo](https://codeberg.org/Hyperpipe/Hyperpipe/raw/branch/main/public/android-chrome-512x512.png) A Privacy Respecting Frontend for YouTube Music inspired and built with the help of [Piped][piped] and YouTube's InnerTube API. diff --git a/src/App.vue b/src/App.vue index 67b53f9..c6e801c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -185,7 +185,7 @@ onMounted(() => { - + { :title="i.title" :author="i.subtitle" :channel="'/channel/' + i.subId" - :art="i.thumbnails[0].url" /> + :art="i.thumbnails[0].url" + @open-song=" + $emit('play-urls', [ + { + url: '/watch?v=' + i.id, + title: i.title, + thumbnails: [ + { + url: i.thumbnails[1]?.url || i.thumbnails[0]?.url, + }, + ], + }, + ]) + " /> diff --git a/src/components/NowPlaying.vue b/src/components/NowPlaying.vue index d2456ed..d7a2436 100644 --- a/src/components/NowPlaying.vue +++ b/src/components/NowPlaying.vue @@ -22,8 +22,6 @@ defineEmits(['get-artist']);