🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Mark Share.LastVisited optional in Subsonic API
Deluancab43c89e6b7
diff --git a/server/subsonic/responses/responses.go b/server/subsonic/responses/responses.goindex cee04f57d..55517ca3b 100644--- a/server/subsonic/responses/responses.go+++ b/server/subsonic/responses/responses.go@@ -368,7 +368,7 @@ type Share struct {Username string `xml:"username,attr" json:"username"`Created time.Time `xml:"created,attr" json:"created"`Expires *time.Time `xml:"expires,omitempty,attr" json:"expires,omitempty"`- LastVisited time.Time `xml:"lastVisited,attr" json:"lastVisited"`+ LastVisited time.Time `xml:"lastVisited,omitempty,attr" json:"lastVisited"`VisitCount int `xml:"visitCount,attr" json:"visitCount"`}