Skip to content

Commit

Permalink
Fixes compliance issue with ListenBrainz API
Browse files Browse the repository at this point in the history
  • Loading branch information
Menghini committed Dec 8, 2024
1 parent c6cf288 commit 6b9a7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maloja/apis/listenbrainz.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def submit(self,pathnodes,keys):
'track_title':titlestr,
'album_title':albumstr,
'scrobble_time':timestamp,
'track_length': additional.get("duration"),
'track_length': additional.get("duration_ms") or additional.get("duration"),
**extrafields
},client=client)

Expand Down

0 comments on commit 6b9a7e2

Please sign in to comment.