mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Small fixes
This commit is contained in:
parent
10fef00592
commit
d0ccf3d1ae
|
@ -459,7 +459,7 @@ def post_scrobble(
|
||||||
'artists':result['track']['artists'],
|
'artists':result['track']['artists'],
|
||||||
'title':result['track']['title']
|
'title':result['track']['title']
|
||||||
},
|
},
|
||||||
'desc':f"Scrobbled {result['track']['title']} by {','.join(result['track']['artists'])}"
|
'desc':f"Scrobbled {result['track']['title']} by {', '.join(result['track']['artists'])}"
|
||||||
}
|
}
|
||||||
if extra_kwargs:
|
if extra_kwargs:
|
||||||
responsedict['warnings'] = [
|
responsedict['warnings'] = [
|
||||||
|
|
|
@ -102,7 +102,7 @@ def incoming_scrobble(rawscrobble,fix=True,client=None,api=None,dbconn=None):
|
||||||
|
|
||||||
log(f"Incoming scrobble [Client: {client} | API: {api}]: {rawscrobble}")
|
log(f"Incoming scrobble [Client: {client} | API: {api}]: {rawscrobble}")
|
||||||
|
|
||||||
scrobbledict = rawscrobble_to_scrobbledict(rawscrobble, fix, client);
|
scrobbledict = rawscrobble_to_scrobbledict(rawscrobble, fix, client)
|
||||||
|
|
||||||
sqldb.add_scrobble(scrobbledict,dbconn=dbconn)
|
sqldb.add_scrobble(scrobbledict,dbconn=dbconn)
|
||||||
proxy_scrobble_all(scrobbledict['track']['artists'],scrobbledict['track']['title'],scrobbledict['time'])
|
proxy_scrobble_all(scrobbledict['track']['artists'],scrobbledict['track']['title'],scrobbledict['time'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user