mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixes
This commit is contained in:
parent
fee94a88c5
commit
b53df53c40
@ -3,7 +3,7 @@ from ..globalconf import malojaconfig, apikeystore
|
|||||||
from ..__pkginfo__ import VERSION
|
from ..__pkginfo__ import VERSION
|
||||||
from ..malojauri import uri_to_internal
|
from ..malojauri import uri_to_internal
|
||||||
from .. import utilities
|
from .. import utilities
|
||||||
from ._apikeys import api_key_correct
|
from ._apikeys import api_key_correct, checkAPIkey
|
||||||
|
|
||||||
from bottle import response, static_file
|
from bottle import response, static_file
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ def incoming_scrobble(artists,title,album=None,albumartists=None,duration=None,l
|
|||||||
if time is None:
|
if time is None:
|
||||||
time = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
time = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
||||||
|
|
||||||
log("Incoming scrobble (): ARTISTS: " + str(artists) + ", TRACK: " + title,module="debug")
|
log("Incoming scrobble (" + str(client) + "): ARTISTS: " + str(artists) + ", TRACK: " + title,module="debug")
|
||||||
if fix:
|
if fix:
|
||||||
(artists,title) = cla.fullclean(artists,title)
|
(artists,title) = cla.fullclean(artists,title)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user