Commit 987059d7 authored by Agate's avatar Agate 💬
Browse files

Merge branch 'bugfix/listenbrainz_without_recording_mbid' into 'develop'

Fix scrobbles without musicbrainz id for track

Closes #1310

See merge request !1258
parents dc412579 b42675b5
Pipeline #13088 passed with stages
in 16 minutes and 41 seconds
......@@ -22,11 +22,13 @@ def get_track(track):
album = None
additional_info = {
"listening_from": "Funkwhale",
"recording_mbid": str(track.mbid),
"tracknumber": track.position,
"discnumber": track.disc_number,
if track.mbid:
additional_info["recording_mbid"] = str(track.mbid)
if track.album:
if track.album.title:
album = track.album.title
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment