diff --git a/maloja/apis/listenbrainz.py b/maloja/apis/listenbrainz.py index 20400999..b1a27244 100644 --- a/maloja/apis/listenbrainz.py +++ b/maloja/apis/listenbrainz.py @@ -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)