mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 17:18:07 +02:00
Fixed subsonic issue
This commit is contained in:
parent
5d5c2b9438
commit
08ffc7adc5
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def get_track_data(album, track, upload):
|
||||||
"isDir": "false",
|
"isDir": "false",
|
||||||
"title": track.title,
|
"title": track.title,
|
||||||
"album": album.title if album else "",
|
"album": album.title if album else "",
|
||||||
"artist": album.artist.name,
|
"artist": track.artist.name,
|
||||||
"track": track.position or 1,
|
"track": track.position or 1,
|
||||||
"discNumber": track.disc_number or 1,
|
"discNumber": track.disc_number or 1,
|
||||||
# Ugly fallback to mp3 but some subsonic clients fail if the value is empty or null, and we don't always
|
# Ugly fallback to mp3 but some subsonic clients fail if the value is empty or null, and we don't always
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue