🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Added comments with missing response parts
Deluandb34122fafd1
diff --git a/api/responses/responses.go b/api/responses/responses.goindex dfa1c8d7c..1a3b7056a 100644--- a/api/responses/responses.go+++ b/api/responses/responses.go@@ -85,12 +85,35 @@ type Child struct {TranscodedSuffix string `xml:"transcodedSuffix,attr,omitempty" json:"transcodedSuffix,omitempty"`Duration int `xml:"duration,attr,omitempty" json:"duration,omitempty"`BitRate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`+ /*+ <xs:attribute name="path" type="xs:string" use="optional"/>+ <xs:attribute name="isVideo" type="xs:boolean" use="optional"/> <!-- Added in 1.4.1 -->+ <xs:attribute name="userRating" type="sub:UserRating" use="optional"/> <!-- Added in 1.6.0 -->+ <xs:attribute name="averageRating" type="sub:AverageRating" use="optional"/> <!-- Added in 1.6.0 -->+ <xs:attribute name="playCount" type="xs:long" use="optional"/> <!-- Added in 1.14.0 -->+ <xs:attribute name="discNumber" type="xs:int" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="created" type="xs:dateTime" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="starred" type="xs:dateTime" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="albumId" type="xs:string" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="artistId" type="xs:string" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="type" type="sub:MediaType" use="optional"/> <!-- Added in 1.8.0 -->+ <xs:attribute name="bookmarkPosition" type="xs:long" use="optional"/> <!-- In millis. Added in 1.10.1 -->+ <xs:attribute name="originalWidth" type="xs:int" use="optional"/> <!-- Added in 1.13.0 -->+ <xs:attribute name="originalHeight" type="xs:int" use="optional"/> <!-- Added in 1.13.0 -->+ */}type Directory struct {Child []Child `xml:"child" json:"child,omitempty"`Id string `xml:"id,attr" json:"id"`Name string `xml:"name,attr" json:"name"`+ /*+ <xs:attribute name="parent" type="xs:string" use="optional"/>+ <xs:attribute name="starred" type="xs:dateTime" use="optional"/> <!-- Added in 1.10.1 -->+ <xs:attribute name="userRating" type="sub:UserRating" use="optional"/> <!-- Added in 1.13.0 -->+ <xs:attribute name="averageRating" type="sub:AverageRating" use="optional"/> <!-- Added in 1.13.0 -->+ <xs:attribute name="playCount" type="xs:long" use="optional"/> <!-- Added in 1.14.0 -->+ */}type AlbumList struct {