feat(subsonic): better support for internet radio and podcast episodes in jukebox

fixes #572
This commit is contained in:
sentriz
2025-09-18 15:45:34 +01:00
parent 8ac8779b92
commit 3db183bda4
2 changed files with 20 additions and 5 deletions

No files matched your search

@@ -10,3 +10,13 @@ func NewInternetRadioStation(irs *db.InternetRadioStation) *InternetRadioStation
HomepageURL: irs.HomepageURL,
}
}
func NewTCInternetRadioStation(irs *db.InternetRadioStation) *TrackChild {
return &TrackChild{
ID: irs.SID(),
Title: irs.Name,
IsDir: false,
IsVideo: false,
Type: "internetradio",
}
}