add dummy getPodcasts view

fixes #98
This commit is contained in:
sentriz
2021-01-02 16:06:59 +00:00
parent f981ddef91
commit 75fce9e214
3 changed files with 21 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ type Response struct {
PlayQueue *PlayQueue `xml:"playQueue" json:"playQueue,omitempty"`
JukeboxStatus *JukeboxStatus `xml:"jukeboxStatus" json:"jukeboxStatus,omitempty"`
JukeboxPlaylist *JukeboxPlaylist `xml:"jukeboxPlaylist" json:"jukeboxPlaylist,omitempty"`
Podcasts *Podcasts `xml:"podcasts" json:"podcasts,omitempty"`
}
func NewResponse() *Response {
@@ -285,3 +286,7 @@ type JukeboxPlaylist struct {
List []*TrackChild `xml:"entry,omitempty" json:"entry,omitempty"`
JukeboxStatus
}
type Podcasts struct {
List []struct{} `xml:"channel" json:"channel"`
}