From 8ff07531d2fe04756c88847e7e119bdf4c6b80e2 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Sun, 13 Aug 2023 15:04:07 +0000 Subject: [PATCH] Closes #140 --- src/components/Library.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Library.vue b/src/components/Library.vue index 470c1b3..e58bf75 100644 --- a/src/components/Library.vue +++ b/src/components/Library.vue @@ -90,7 +90,7 @@ const setProxy = async () => { console.log(); results.resetItems(); results.setItem('songs', { - title: 'Hyp • Offline', + title: 'Hyp • ' + t('title.offline'), items: songs.map(i => ({ ...i.appMetadata, offlineUri: i.offlineUri, @@ -169,7 +169,7 @@ const setProxy = async () => { format: 'Hyperpipe', version: 0, app_version: 0, - subscriptions: JSON.parse(store.subs).map(id => ({ + subscriptions: JSON.parse( store.subs || '[]' ).map(id => ({ url: 'https://www.youtube.com/channel/' + id, service_id: 0, })),