diff --git a/README.md b/README.md index cf1d3ee..e795a23 100644 --- a/README.md +++ b/README.md @@ -129,14 +129,14 @@ You can use any third-party scrobbler that supports the audioscrobbler (GNUFM) o GNU FM |   ------ | --------- -Gnukebox URL | Your Maloja URL followed by `/api/s/audioscrobbler` -Username | Any name, doesn't matter +Gnukebox URL | Your Maloja URL followed by `/apis/audioscrobbler` +Username | Any name, doesn't matter (don't leave empty) Password | Any of your API keys ListenBrainz |   ------ | --------- -API URL | Your Maloja URL followed by `/api/s/listenbrainz` -Username | Any name, doesn't matter +API URL | Your Maloja URL followed by `/apis/listenbrainz` +Username | Any name, doesn't matter (don't leave empty) Auth Token | Any of your API keys These are tested with the Pano Scrobbler and the Simple Last.fm Scrobbler for Android. I'm thankful for any feedback whether other scrobblers work! diff --git a/maloja/apis/__init__.py b/maloja/apis/__init__.py index fb92290..08576ea 100644 --- a/maloja/apis/__init__.py +++ b/maloja/apis/__init__.py @@ -9,7 +9,7 @@ from urllib.parse import urlencode native_apis = [ native_v1.api ] -thirdparty_apis = [ +standardized_apis = [ Listenbrainz(), Audioscrobbler() ] @@ -18,7 +18,7 @@ def init_apis(server): for api in native_apis: api.mount(server=server,path="apis/"+api.__apipath__) - for api in thirdparty_apis: + for api in standardized_apis: aliases = api.__aliases__ canonical = aliases[0] api.nimrodelapi.mount(server=server,path="apis/" + canonical)