Add coverArt to Subsonic playlist response

This commit is contained in:
Deluan
2023-01-01 19:35:19 -05:00
parent 6260927074
commit 950cc28e67
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -213,11 +213,11 @@ type Playlist struct {
Owner string `xml:"owner,attr,omitempty" json:"owner,omitempty"`
Created time.Time `xml:"created,attr" json:"created"`
Changed time.Time `xml:"changed,attr" json:"changed"`
CoverArt string `xml:"coverArt,attr,omitempty" json:"coverArt,omitempty"`
/*
<xs:sequence>
<xs:element name="allowedUser" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <!--Added in 1.8.0-->
</xs:sequence>
<xs:attribute name="coverArt" type="xs:string" use="optional"/> <!--Added in 1.11.0-->
*/
}