mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Scrobbling fixes
This commit is contained in:
parent
ef594c2546
commit
deb35ec042
@ -95,6 +95,6 @@ class APIHandler:
|
|||||||
if time is None: time = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
if time is None: time = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
||||||
try:
|
try:
|
||||||
(artists,title) = cla.fullclean(artiststr,titlestr)
|
(artists,title) = cla.fullclean(artiststr,titlestr)
|
||||||
database.incoming_scrobble(artists,title,time)
|
database.incoming_scrobble(artists=artists,title=title,time=time)
|
||||||
except:
|
except:
|
||||||
raise ScrobblingException()
|
raise ScrobblingException()
|
||||||
|
Loading…
Reference in New Issue
Block a user