diff --git a/server/ctrlsubsonic/handlers_playlist.go b/server/ctrlsubsonic/handlers_playlist.go index de03430f..ae43cb2f 100644 --- a/server/ctrlsubsonic/handlers_playlist.go +++ b/server/ctrlsubsonic/handlers_playlist.go @@ -197,6 +197,7 @@ func playlistRender(c *Controller, params params.Params, playlistID string, play Name: playlist.Name, Comment: playlist.Comment, Created: playlist.UpdatedAt, + Changed: playlist.UpdatedAt, SongCount: len(playlist.Items), Public: playlist.IsPublic, Owner: user.Name, diff --git a/server/ctrlsubsonic/spec/spec.go b/server/ctrlsubsonic/spec/spec.go index 5a0df704..c2a0de0c 100644 --- a/server/ctrlsubsonic/spec/spec.go +++ b/server/ctrlsubsonic/spec/spec.go @@ -310,6 +310,7 @@ type Playlist struct { Owner string `xml:"owner,attr" json:"owner"` SongCount int `xml:"songCount,attr" json:"songCount"` Created time.Time `xml:"created,attr" json:"created"` + Changed time.Time `xml:"changed,attr" json:"changed"` Duration int `xml:"duration,attr" json:"duration,omitempty"` Public bool `xml:"public,attr" json:"public,omitempty"` List []*TrackChild `xml:"entry,omitempty" json:"entry,omitempty"`