fix genre struct tags

This commit is contained in:
sentriz
2020-03-12 16:18:30 +00:00
parent 057f2a7dae
commit ce5c5d3b58

View File

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