Add duration and track_count to getArtist, getAlbum and getAlbumList2

This commit is contained in:
Duncan Overbruck
2020-07-24 14:27:26 +02:00
committed by Senan Kelly
parent 606d761039
commit df679a6ae3
3 changed files with 11 additions and 2 deletions

View File

@@ -172,6 +172,7 @@ type Album struct {
TagYear int `sql:"default: null"`
Tracks []*Track
ChildCount int `sql:"-"`
Duration int `sql:"-"`
ReceivedPaths bool `gorm:"-"`
ReceivedTags bool `gorm:"-"`
}