kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch 'bugfix/listenbrainz_without_recording_mbid' into 'develop'
Fix scrobbles without musicbrainz id for track Closes #1310 See merge request funkwhale/funkwhale!1258environments/review-docs-devel-1399dq/deployments/6607
commit
987059d733
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue