fix genre struct tags
This commit is contained in:
@@ -254,8 +254,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,omitempty" json:"songCount,omitempty"`
|
||||||
AlbumCount int `xml:"albumCount,attr,omitempty" json:"albumCount,omitempty"`
|
AlbumCount int `xml:"albumCount,attr,omitempty" json:"albumCount,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user