Fixed subsonic issue
This commit is contained in:
parent
5d5c2b9438
commit
08ffc7adc5
|
@ -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…
Reference in New Issue