feat(subsonic): better support for internet radio and podcast episodes in jukebox
fixes #572
This commit is contained in:
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",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user