mirror of https://github.com/krateng/maloja.git
Compare commits
7 Commits
e3933e7dca
...
36d0e7bb8a
Author | SHA1 | Date |
---|---|---|
krateng | 36d0e7bb8a | |
krateng | 91750db8ac | |
krateng | d5f2c254f3 | |
badlandspray | 9ae14da397 | |
badlandspray | 3fd02c1675 | |
badlandspray | f7251c613c | |
badlandspray | d57bf33969 |
|
@ -68,7 +68,7 @@ class Listenbrainz(APIHandler):
|
|||
# fields that will not be consumed by regular scrobbling
|
||||
# will go into 'extra'
|
||||
k:additional[k]
|
||||
for k in ['release_mbid','artist_mbids','recording_mbid','tags']
|
||||
for k in ['track_mbid', 'release_mbid', 'artist_mbids','recording_mbid','tags']
|
||||
if k in additional
|
||||
}
|
||||
|
||||
|
@ -77,6 +77,7 @@ class Listenbrainz(APIHandler):
|
|||
'track_title':titlestr,
|
||||
'album_name':albumstr,
|
||||
'scrobble_time':timestamp,
|
||||
'track_length': additional.get("duration"),
|
||||
**extrafields
|
||||
},client=client)
|
||||
|
||||
|
|
Loading…
Reference in New Issue