feat(subsonic): implement getSimilarSongs2.view

closes #195
This commit is contained in:
xavier
2022-02-10 11:50:43 +00:00
committed by sentriz
parent e1cfed7965
commit 92febcffe6
4 changed files with 99 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ type Response struct {
StarredTwo *StarredTwo `xml:"starred2" json:"starred2,omitempty"`
TopSongs *TopSongs `xml:"topSongs" json:"topSongs,omitempty"`
SimilarSongs *SimilarSongs `xml:"similarSongs" json:"similarSongs,omitempty"`
SimilarSongsTwo *SimilarSongsTwo `xml:"similarSongs2" json:"similarSongs2,omitempty"`
}
func NewResponse() *Response {
@@ -362,3 +363,7 @@ type TopSongs struct {
type SimilarSongs struct {
Tracks []*TrackChild `xml:"song,omitempty" json:"song,omitempty"`
}
type SimilarSongsTwo struct {
Tracks []*TrackChild `xml:"song,omitempty" json:"song,omitempty"`
}