feat(subsonic): return playCount in album responses

closes #458
This commit is contained in:
sentriz
2024-01-18 21:10:19 +00:00
parent 87943ea863
commit ec55f3b22a
18 changed files with 323 additions and 221 deletions

View File

@@ -144,6 +144,7 @@ type Album struct {
Name string `xml:"name,attr" json:"name"`
TrackCount int `xml:"songCount,attr" json:"songCount"`
Duration int `xml:"duration,attr" json:"duration"`
PlayCount int `xml:"playCount,attr" json:"playCount"`
Genre string `xml:"genre,attr,omitempty" json:"genre,omitempty"`
Genres []*GenreRef `xml:"genres,omitempty" json:"genres,omitempty"`
Year int `xml:"year,attr,omitempty" json:"year,omitempty"`