mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
fix: remote track number is now working, default bitrate for remote songs, remote quality for remote songs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user