Unverified Commit 08ffc7ad authored by Agate's avatar Agate 💬
Browse files

Fixed subsonic issue

parent 5d5c2b94
......@@ -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
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