Updated Readme

This commit is contained in:
Krateng 2020-09-04 00:15:53 +02:00
parent dad75dbbc2
commit 0b54999a1c
2 changed files with 6 additions and 6 deletions

View File

@ -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!

View File

@ -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)