mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed scrobble bug
This commit is contained in:
parent
8b4e9609e9
commit
52a9faae90
@ -5,7 +5,7 @@ author = {
|
|||||||
"email":"maloja@krateng.dev",
|
"email":"maloja@krateng.dev",
|
||||||
"github": "krateng"
|
"github": "krateng"
|
||||||
}
|
}
|
||||||
version = 2,9,0
|
version = 2,9,1
|
||||||
versionstr = ".".join(str(n) for n in version)
|
versionstr = ".".join(str(n) for n in version)
|
||||||
links = {
|
links = {
|
||||||
"pypi":"malojaserver",
|
"pypi":"malojaserver",
|
||||||
|
@ -198,7 +198,8 @@ def compare_external(**keys):
|
|||||||
@api.post("newscrobble")
|
@api.post("newscrobble")
|
||||||
@authenticated_api_with_alternate(api_key_correct)
|
@authenticated_api_with_alternate(api_key_correct)
|
||||||
def post_scrobble(artist:Multi,**keys):
|
def post_scrobble(artist:Multi,**keys):
|
||||||
artists = "/".join(artist)
|
#artists = "/".join(artist)
|
||||||
|
artists = artist
|
||||||
title = keys.get("title")
|
title = keys.get("title")
|
||||||
album = keys.get("album")
|
album = keys.get("album")
|
||||||
duration = keys.get("seconds")
|
duration = keys.get("seconds")
|
||||||
|
Loading…
Reference in New Issue
Block a user