diff --git a/src/libs/extra/audioscrobbler.liq b/src/libs/extra/audioscrobbler.liq index 5691a2f5be..8b3fa3bdbb 100644 --- a/src/libs/extra/audioscrobbler.liq +++ b/src/libs/extra/audioscrobbler.liq @@ -283,7 +283,7 @@ def audioscrobbler.api.track.scrobble( ~api_secret=null(), ~artist, ~track, - ~timestamp=time(), + ~timestamp=null(), ~album=null(), ~context=null(), ~streamId=null(), @@ -307,7 +307,7 @@ def audioscrobbler.api.track.scrobble( [ ("track", track), ("artist", artist), - ("timestamp", string(timestamp)), + ("timestamp", string(timestamp ?? time())), ...(null.defined(album) ? [("album", null.get(album))] : [] ), ...(null.defined(context) ? [("context", null.get(context))] : [] ), ...(null.defined(streamId) ? [("streamId", null.get(streamId))] : [] ),