Even more fixes

This commit is contained in:
krateng 2022-02-14 06:45:53 +01:00
parent 73564eccc1
commit b95d1e8b0c
1 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,8 @@ def post_scrobble(artist:Multi=None,**keys):
:param boolean nofix: Skip server-side metadata parsing. Optional.
"""
#artists = "/".join(artist)
keys['artists'] = [artist] if artist is not None else keys.get("artists")
# url multi args automatically become list
keys['artists'] = artist if artist is not None else keys.get("artists")
keys['fix'] = keys.get("nofix") is None
if keys.get('time') is not None: keys['time'] = int(keys.get('time'))