@@ -38,6 +38,7 @@ func playlistRender(c *Controller, playlist *db.Playlist) *spec.Playlist {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
resp.List[i] = spec.NewTCTrackByFolder(&track, track.Album)
|
resp.List[i] = spec.NewTCTrackByFolder(&track, track.Album)
|
||||||
|
resp.Duration += track.Length
|
||||||
}
|
}
|
||||||
return resp
|
return resp
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user