fix: remote track number is now working, default bitrate for remote songs, remote quality for remote songs

This commit is contained in:
V1ck3s
2025-12-11 22:16:43 +01:00
committed by Vickes
parent 288613d62b
commit 96f6f7f8d4
2 changed files with 13 additions and 6 deletions

View File

@@ -832,7 +832,8 @@ public class SubsonicController : ControllerBase
track = song.Track ?? 0,
year = song.Year ?? 0,
coverArt = song.Id, // Utilisé pour getCoverArt
suffix = "mp3",
suffix = song.IsLocal ? "mp3" : "Remote",
bitRate = song.IsLocal ? (int?)null : 0, // 0 for remote tracks
contentType = "audio/mpeg",
type = "music",
isVideo = false,