mirror of
https://github.com/krateng/maloja.git
synced 2025-04-16 08:50:32 +03:00
API and frontend now consistent in regards to multiartist querystring
This commit is contained in:
parent
a5b407d92f
commit
aafbfa747a
@ -628,8 +628,8 @@ def trackInfo(track):
|
||||
|
||||
|
||||
@dbserver.get("newscrobble")
|
||||
def pseudo_post_scrobble(**keys):
|
||||
artists = keys.get("artist")
|
||||
def pseudo_post_scrobble(artist:Multi,**keys):
|
||||
artists = "/".join(artist)
|
||||
title = keys.get("title")
|
||||
apikey = keys.get("key")
|
||||
client = checkAPIkey(apikey)
|
||||
@ -656,8 +656,8 @@ def pseudo_post_scrobble(**keys):
|
||||
return {"status":"success","track":trackdict}
|
||||
|
||||
@dbserver.post("newscrobble")
|
||||
def post_scrobble(**keys):
|
||||
artists = keys.get("artist")
|
||||
def post_scrobble(artist:Multi,**keys):
|
||||
artists = "/".join(artist)
|
||||
title = keys.get("title")
|
||||
apikey = keys.get("key")
|
||||
client = checkAPIkey(apikey)
|
||||
|
Loading…
x
Reference in New Issue
Block a user