diff --git a/server/ctrlsubsonic/spec/spec.go b/server/ctrlsubsonic/spec/spec.go index a5a8a38..bfc71d0 100644 --- a/server/ctrlsubsonic/spec/spec.go +++ b/server/ctrlsubsonic/spec/spec.go @@ -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"` }