diff --git a/src/i18n/README.md b/src/i18n/README.md index 575da984..265a6214 100644 --- a/src/i18n/README.md +++ b/src/i18n/README.md @@ -450,4 +450,6 @@ Update 10/06/2022 20:00 UTC Update 15/06/2022 20:00 UTC -* `settings.notyf.connectivity.lastfmScrobble.connectError`: Added to `en_US` \ No newline at end of file +* `settings.notyf.connectivity.lastfmScrobble.connectError`: Added to `en_US` +* `settings.notyf.connectivity.lastfmScrobble.connectSuccess`: Added to `en_US` +* `settings.notyf.connectivity.lastfmScrobble.connecting`: Added to `en_US` \ No newline at end of file diff --git a/src/i18n/en_US.json b/src/i18n/en_US.json index 06a09bdf..e094d697 100644 --- a/src/i18n/en_US.json +++ b/src/i18n/en_US.json @@ -540,6 +540,8 @@ "settings.option.connectivity.lastfmScrobble.removeFeatured": "Remove featuring artists from song title (Last.fm)", "settings.option.connectivity.lastfmScrobble.filterLoop": "Filter looped track (Last.fm)", "settings.notyf.connectivity.lastfmScrobble.connectError": "Last.fm Connection Timed Out", + "settings.notyf.connectivity.lastfmScrobble.connectSuccess": "Last.fm Connection Successful", + "settings.notyf.connectivity.lastfmScrobble.connecting": "Connecting to Last.fm...", "settings.header.debug": "Debug", "settings.option.debug.copy_log": "Copy logs to clipboard", "settings.option.debug.openAppData": "Open Cider Folder", diff --git a/src/i18n/source/en_US.json b/src/i18n/source/en_US.json index 3a05d741..8316123c 100644 --- a/src/i18n/source/en_US.json +++ b/src/i18n/source/en_US.json @@ -528,6 +528,8 @@ "settings.option.connectivity.lastfmScrobble.removeFeatured": "Remove featuring artists from song title (Last.fm)", "settings.option.connectivity.lastfmScrobble.filterLoop": "Filter looped track (Last.fm)", "settings.notyf.connectivity.lastfmScrobble.connectError": "Last.fm Connection Timed Out", + "settings.notyf.connectivity.lastfmScrobble.connectSuccess": "Last.fm Connection Successful", + "settings.notyf.connectivity.lastfmScrobble.connecting": "Connecting to Last.fm...", "settings.header.debug": "Debug", "settings.option.debug.copy_log": "Copy logs to clipboard", "settings.option.debug.openAppData": "Open Cider Folder", diff --git a/src/main/base/store.ts b/src/main/base/store.ts index 56b0743f..fd706f8e 100644 --- a/src/main/base/store.ts +++ b/src/main/base/store.ts @@ -224,8 +224,7 @@ export class Store { "scrobble_after": 50, "secrets": { "username": "", - "key": "", - "token": "" + "key": "" } }, diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 4e6af4e7..526bb3b5 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -829,12 +829,6 @@ const app = new Vue({ MusicKit.getInstance().videoContainerElement = document.getElementById("apple-music-video-player") - ipcRenderer.on('lastfm:authenticated', (_e, session) => { - app.cfg.lastfm.username = session.username - app.cfg.lastfm.key = session.key - app.cfg.lastfm.enabled = true - }) - ipcRenderer.on('setStoreValue', (e, key, value) => { app.cfg[key] = value }) diff --git a/src/renderer/views/pages/settings.ejs b/src/renderer/views/pages/settings.ejs index 3aef03bb..5833c872 100644 --- a/src/renderer/views/pages/settings.ejs +++ b/src/renderer/views/pages/settings.ejs @@ -1063,12 +1063,9 @@ {{$root.getLz('settings.option.connectivity.lastfmScrobble')}}