From b0ebe66d54ed4eaef881a009aff30f9c6f3bd136 Mon Sep 17 00:00:00 2001 From: exttex Date: Mon, 25 Jan 2021 21:00:06 +0100 Subject: [PATCH] 1.1.14 - importing and what not --- app/client/src/App.vue | 34 ++++- app/client/src/components/SmartTrackList.vue | 4 +- app/client/src/js/router.js | 5 + app/client/src/locales/en.json | 9 +- app/client/src/main.js | 32 ++++ app/client/src/views/FullscreenPlayer.vue | 52 ++++--- app/client/src/views/Importer.vue | 86 +++++++++++ app/client/src/views/Settings.vue | 12 +- app/package-lock.json | 145 ++++++++++++++++--- app/package.json | 5 +- app/src/downloads.js | 3 +- app/src/importer.js | 94 ++++++++++++ app/src/integrations.js | 3 +- app/src/server.js | 64 ++++++++ app/src/settings.js | 1 + package.json | 2 +- 16 files changed, 500 insertions(+), 51 deletions(-) create mode 100644 app/client/src/views/Importer.vue create mode 100644 app/src/importer.js diff --git a/app/client/src/App.vue b/app/client/src/App.vue index 33ae2f6..e3e1675 100644 --- a/app/client/src/App.vue +++ b/app/client/src/App.vue @@ -27,8 +27,8 @@ permanent fixed app - mini-variant - expand-on-hover + :mini-variant='!this.$root.settings.sidebarOpen' + :expand-on-hover='!this.$root.settings.sidebarOpen' > @@ -127,6 +127,16 @@ {{$t('Downloads')}} + + + + mdi-import + mdi-check + + + {{$t('Importer')}} + + @@ -243,8 +253,7 @@ - - +
{ + //Volup + if (e.deltaY < 0) { + if (this.volume + 0.05 > 1) + this.volume = 1; + else + this.volume += 0.05; + } else { + //Voldown + if (this.volume - 0.05 < 0) + this.volume = 0; + else + this.volume -= 0.05; + } + }); + //onClick for footer this.$refs.footer.addEventListener('click', () => { if (this.$root.track) this.showPlayer = true; diff --git a/app/client/src/components/SmartTrackList.vue b/app/client/src/components/SmartTrackList.vue index 391454a..e6ad5a0 100644 --- a/app/client/src/components/SmartTrackList.vue +++ b/app/client/src/components/SmartTrackList.vue @@ -1,11 +1,11 @@