fix(subsonic): songCount and albumCount in genre objects is required (#390)
This commit is contained in:
@@ -310,8 +310,8 @@ type Genres struct {
|
|||||||
|
|
||||||
type Genre struct {
|
type Genre struct {
|
||||||
Name string `xml:",chardata" json:"value"`
|
Name string `xml:",chardata" json:"value"`
|
||||||
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
|
SongCount int `xml:"songCount,attr" json:"songCount"`
|
||||||
AlbumCount int `xml:"albumCount,attr,omitempty" json:"albumCount,omitempty"`
|
AlbumCount int `xml:"albumCount,attr" json:"albumCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PlayQueue struct {
|
type PlayQueue struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user