fix(subsonic): songCount and albumCount in genre objects is required (#390)

This commit is contained in:
Duncan Overbruck
2023-10-12 21:19:30 +02:00
committed by GitHub
parent 80fdc85b60
commit b17e76ea73

View File

@@ -309,9 +309,9 @@ type Genres struct {
}
type Genre struct {
Name string `xml:",chardata" json:"value"`
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
AlbumCount int `xml:"albumCount,attr,omitempty" json:"albumCount,omitempty"`
Name string `xml:",chardata" json:"value"`
SongCount int `xml:"songCount,attr" json:"songCount"`
AlbumCount int `xml:"albumCount,attr" json:"albumCount"`
}
type PlayQueue struct {