-
Recently Played{isUpstream ? ' from Source API' : null}{isUpstream ? : null}
+ Recently Played{isUpstream ? ' from Source API' : null}
--
2.51.2
From 831cefd9a72852cc606923ec5c822368999d0ea4 Mon Sep 17 00:00:00 2001
From: FoxxMD
Date: Mon, 19 Aug 2024 11:25:11 -0400
Subject: [PATCH 21/23] docs(deezer): Deprecate due to discontinued API support
Deprecate Source with warning message and update docs. #175
---
README.md | 2 +-
docsite/docs/FAQ.md | 4 ++++
docsite/docs/configuration/configuration.mdx | 18 ++++++++++++++++--
docsite/src/pages/index.mdx | 2 +-
...o.github.foxxmd.multiscrobbler.metainfo.xml | 1 -
src/backend/sources/DeezerSource.ts | 2 ++
6 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index bbab8f28..a7fe5eb3 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ A javascript app to scrobble music you listened to, to [Maloja](https://github.c
* [Youtube Music](https://foxxmd.github.io/multi-scrobbler/docs/configuration#youtube-music)
* [Last.fm](https://foxxmd.github.io/multi-scrobbler/docs/configuration#lastfm-source)
* [ListenBrainz](https://foxxmd.github.io/multi-scrobbler/docs/configuration#listenbrainz-source)
- * [Deezer](https://foxxmd.github.io/multi-scrobbler/docs/configuration#deezer)
+ * [~~Deezer~~](https://foxxmd.github.io/multi-scrobbler/docs/configuration#deezer)
* [MPRIS (Linux Desktop)](https://foxxmd.github.io/multi-scrobbler/docs/configuration#mpris)
* [Mopidy](https://foxxmd.github.io/multi-scrobbler/docs/configuration#mopidy)
* [JRiver](https://foxxmd.github.io/multi-scrobbler/docs/configuration#jriver)
diff --git a/docsite/docs/FAQ.md b/docsite/docs/FAQ.md
index 9114799c..897f51ac 100644
--- a/docsite/docs/FAQ.md
+++ b/docsite/docs/FAQ.md
@@ -124,6 +124,10 @@ If multi-scrobbler is not running on the same machine your browser is on then th
EX `http://localhost:9078/lastfm/callback` -> `http://192.168.0.220:9078/lastfm/callback`
+### Deezer is not working
+
+Deezer has discontinued support for their API and the Deezer Source is now [**deprecated.**](configuration/configuration.mdx#deezer) See [this issue for more discussion.](https://github.com/FoxxMD/multi-scrobbler/issues/175#issuecomment-2296776625)
+
## Configuration Issues
### Config could not be parsed
diff --git a/docsite/docs/configuration/configuration.mdx b/docsite/docs/configuration/configuration.mdx
index 7b9d3026..d0f1f6ed 100644
--- a/docsite/docs/configuration/configuration.mdx
+++ b/docsite/docs/configuration/configuration.mdx
@@ -147,7 +147,7 @@ These options affect multi-scrobbler's behavior and are not specific to any sour
#### Base URL
-Defines the URL that is used to generate default redirect URLs for authentication on [spotify](#spotify), [lastfm](#lastfm), and [deezer](#deezer) -- as well as some logging hints.
+Defines the URL that is used to generate default redirect URLs for authentication on [spotify](#spotify) and [lastfm](#lastfm) -- as well as some logging hints.
* Default => `http://localhost:9078`
* Set with [ENV](./configuration?configType=env#configuration-types) `BASE_URL` or `baseUrl` [all-in-one configuration](./configuration?configType=aio#configuration-types)
@@ -492,7 +492,21 @@ On your [profile page](https://listenbrainz.org/profile/) find your **User Token
-### [Deezer](https://deezer.com/)
+### [~~Deezer~~](https://deezer.com/)
+
+:::warning
+
+**This Source is DEPRECATED because Deezer has dropped official API support.** This Source will **not** be removed but no further support or fixes will be given.
+
+Users cannot create new applications on Deezer Developers and there is no guarantee existing applications will continue to work.
+
+As a workaround consider integrating Deezer with last.fm and then using [last.fm as a Source](#lastfm-source).
+
+Users with existing Deezer applications in use with multi-scrobbler should consider this change as well to avoid future breaking issues with the unsupported API.
+
+[See this issue for more discussion.](https://github.com/FoxxMD/multi-scrobbler/issues/175#issuecomment-2296776625)
+
+:::
Create a new application at [Deezer Developers](https://developers.deezer.com/myapps)
diff --git a/docsite/src/pages/index.mdx b/docsite/src/pages/index.mdx
index 75b7d17b..21d04d43 100644
--- a/docsite/src/pages/index.mdx
+++ b/docsite/src/pages/index.mdx
@@ -21,7 +21,7 @@ A javascript app to scrobble music you listened to, to [Maloja](https://github.c
* [Youtube Music](docs/configuration#youtube-music)
* [Last.fm](docs/configuration#lastfm-source)
* [ListenBrainz](docs/configuration#listenbrainz-source)
- * [Deezer](docs/configuration#deezer)
+ * [~~Deezer~~](docs/configuration#deezer)
* [MPRIS (Linux Desktop)](docs/configuration#mpris)
* [Mopidy](docs/configuration#mopidy)
* [JRiver](docs/configuration#jriver)
diff --git a/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml b/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
index 42531010..65a09307 100644
--- a/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
+++ b/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
@@ -26,7 +26,6 @@
Jellyfin
WebScrobbler
Mopidy
- Deezer
JRiver
Kodi
Webscrobbler
diff --git a/src/backend/sources/DeezerSource.ts b/src/backend/sources/DeezerSource.ts
index dbe022d7..ee4db3a3 100644
--- a/src/backend/sources/DeezerSource.ts
+++ b/src/backend/sources/DeezerSource.ts
@@ -90,6 +90,8 @@ export default class DeezerSource extends AbstractSource {
}
protected async doBuildInitData(): Promise {
+ this.logger.warn('This Source is DEPRECATED! Deezer has dropped support official API support. New apps cannot be created and existing apps are not guaranteed to continue working. See the documentation or this issue for more information: https://github.com/FoxxMD/multi-scrobbler/issues/175#issuecomment-2296776625');
+
try {
const credFile = await readJson(this.workingCredsPath, {throwOnNotFound: false});
if(credFile !== undefined) {
--
2.51.2
From 0fed91302c32f92df390c482e5aff507f7eca865 Mon Sep 17 00:00:00 2001
From: FoxxMD
Date: Mon, 19 Aug 2024 11:55:47 -0400
Subject: [PATCH 22/23] chore(ci): Update untagged package schedule to run once
a week
Doesn't need to run every day.
---
.github/workflows/packagesDeleteUntagged.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/packagesDeleteUntagged.yml b/.github/workflows/packagesDeleteUntagged.yml
index 9f01f1a3..0eefdcde 100644
--- a/.github/workflows/packagesDeleteUntagged.yml
+++ b/.github/workflows/packagesDeleteUntagged.yml
@@ -1,7 +1,7 @@
name: Delete Untagged Packages
on:
schedule:
- - cron: '30 1 * * *'
+ - cron: '30 1 * * 0'
workflow_run:
workflows: ["Publish Docker image to Dockerhub"]
types:
--
2.51.2
From 4f26b63ab1a5076aaf28b757f0d1b5e8b261f001 Mon Sep 17 00:00:00 2001
From: FoxxMD
Date: Tue, 20 Aug 2024 09:17:28 -0400
Subject: [PATCH 23/23] chore: Bump version for release
---
flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml | 1 +
package-lock.json | 12 ++++++------
package.json | 4 ++--
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml b/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
index 65a09307..0126481b 100644
--- a/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
+++ b/flatpak/io.github.foxxmd.multiscrobbler.metainfo.xml
@@ -49,6 +49,7 @@
+
diff --git a/package-lock.json b/package-lock.json
index 303bfd6a..3f3b88f4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "multi-scrobbler",
- "version": "0.8.1",
+ "version": "0.8.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "multi-scrobbler",
- "version": "0.8.1",
+ "version": "0.8.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -79,7 +79,7 @@
"devDependencies": {
"@dbus-types/notifications": "^0.0.5",
"@eslint/js": "^8.56.0",
- "@faker-js/faker": "^9.0.0-rc.0",
+ "@faker-js/faker": "^9.0.0-rc.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
@@ -1121,9 +1121,9 @@
}
},
"node_modules/@faker-js/faker": {
- "version": "9.0.0-rc.0",
- "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.0.0-rc.0.tgz",
- "integrity": "sha512-8ouDqdlHqREHizwGk1QiXuL73vtBfRFh0Uh71aJyotCg6QMF9IgyvIsxf/IunoEr3gqpUwAlrhLMwLIvRK1mzg==",
+ "version": "9.0.0-rc.1",
+ "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.0.0-rc.1.tgz",
+ "integrity": "sha512-d9uL+O7Bud4W0axuHYxjCsfwazwo6iPRbgDkIPgWhtxpnziHqbFafOuKubnQ++4V31dI9NYYkajzGNJADHas4A==",
"dev": true,
"funding": [
{
diff --git a/package.json b/package.json
index 425beefe..0c321b65 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "multi-scrobbler",
- "version": "0.8.1",
+ "version": "0.8.2",
"type": "module",
"description": "scrobble plays from multiple sources to multiple clients",
"scripts": {
@@ -114,7 +114,7 @@
"devDependencies": {
"@dbus-types/notifications": "^0.0.5",
"@eslint/js": "^8.56.0",
- "@faker-js/faker": "^9.0.0-rc.0",
+ "@faker-js/faker": "^9.0.0-rc.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",