mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:49:16 +02:00
Fix #765: Include disc number in Subsonic responses
This commit is contained in:
parent
12113c6ef2
commit
5715773fa7
3 changed files with 4 additions and 1 deletions
|
@ -70,6 +70,7 @@ def get_track_data(album, track, upload):
|
|||
"album": album.title,
|
||||
"artist": album.artist.name,
|
||||
"track": track.position or 1,
|
||||
"discNumber": track.disc_number or 1,
|
||||
"contentType": upload.mimetype,
|
||||
"suffix": upload.extension or "",
|
||||
"duration": upload.duration or 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue