feat(subsonic): add getNewestPodcasts
This commit is contained in:
@@ -44,6 +44,7 @@ type Response struct {
|
||||
JukeboxStatus *JukeboxStatus `xml:"jukeboxStatus" json:"jukeboxStatus,omitempty"`
|
||||
JukeboxPlaylist *JukeboxPlaylist `xml:"jukeboxPlaylist" json:"jukeboxPlaylist,omitempty"`
|
||||
Podcasts *Podcasts `xml:"podcasts" json:"podcasts,omitempty"`
|
||||
NewestPodcasts *NewestPodcasts `xml:"newestPodcasts" json:"newestPodcasts,omitempty"`
|
||||
Bookmarks *Bookmarks `xml:"bookmarks" json:"bookmarks,omitempty"`
|
||||
Starred *Starred `xml:"starred" json:"starred,omitempty"`
|
||||
StarredTwo *StarredTwo `xml:"starred2" json:"starred2,omitempty"`
|
||||
@@ -294,6 +295,10 @@ type Podcasts struct {
|
||||
List []*PodcastChannel `xml:"channel" json:"channel"`
|
||||
}
|
||||
|
||||
type NewestPodcasts struct {
|
||||
List []*PodcastEpisode `xml:"episode" json:"episode"`
|
||||
}
|
||||
|
||||
type PodcastChannel struct {
|
||||
ID *specid.ID `xml:"id,attr" json:"id"`
|
||||
URL string `xml:"url,attr" json:"url"`
|
||||
|
||||
Reference in New Issue
Block a user