mirror of
https://github.com/krateng/maloja.git
synced 2025-04-18 17:47:37 +03:00
Updated Readme
This commit is contained in:
parent
dad75dbbc2
commit
0b54999a1c
@ -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!
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user