Update ServeGetAlbumList to reflect @Duncaen's changes

This commit is contained in:
sentriz
2020-07-24 14:29:02 +01:00
parent 365bfa9c59
commit f16f07b8a8
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ func NewAlbumByFolder(f *db.Album) *Album {
ParentID: f.ParentSID(),
Title: f.RightPath,
TrackCount: f.ChildCount,
Duration: f.Duration,
}
if f.Cover != "" {
a.CoverID = f.SID()