Fixed subsonic issue

This commit is contained in:
Agate 2020-04-21 13:59:33 +02:00
parent 5d5c2b9438
commit 08ffc7adc5
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def get_track_data(album, track, upload):
"isDir": "false",
"title": track.title,
"album": album.title if album else "",
"artist": album.artist.name,
"artist": track.artist.name,
"track": track.position 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