Skip to content

Commit

Permalink
fix(subsonic): always return playlist duration
Browse files Browse the repository at this point in the history
fixes #457
  • Loading branch information
sentriz committed Jan 17, 2024
1 parent 6f49ab7 commit 87943ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ctrlsubsonic/spec/spec.go
Expand Up @@ -311,7 +311,7 @@ type Playlist struct {
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"`
Duration int `xml:"duration,attr" json:"duration"`
Public bool `xml:"public,attr" json:"public,omitempty"`
List []*TrackChild `xml:"entry,omitempty" json:"entry,omitempty"`
}
Expand Down

0 comments on commit 87943ea

Please sign in to comment.