feat(subsonic): implement getSimilarSongs.view

closes #195
This commit is contained in:
xavier
2022-02-10 11:50:22 +00:00
committed by sentriz
parent 39b3ae5ecb
commit e1cfed7965
4 changed files with 89 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ type Response struct {
Starred *Starred `xml:"starred" json:"starred,omitempty"`
StarredTwo *StarredTwo `xml:"starred2" json:"starred2,omitempty"`
TopSongs *TopSongs `xml:"topSongs" json:"topSongs,omitempty"`
SimilarSongs *SimilarSongs `xml:"similarSongs" json:"similarSongs,omitempty"`
}
func NewResponse() *Response {
@@ -357,3 +358,7 @@ type StarredTwo struct {
type TopSongs struct {
Tracks []*TrackChild `xml:"song,omitempty" json:"song,omitempty"`
}
type SimilarSongs struct {
Tracks []*TrackChild `xml:"song,omitempty" json:"song,omitempty"`
}