Adding Album total time (Duration)

This commit is contained in:
Deluan
2016-03-21 21:14:04 -04:00
parent cdcb5c6f49
commit 2a2af2f57a
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -263,6 +263,7 @@ func (s *ItunesScanner) collectAlbums(t *itl.Track, mf *domain.MediaFile, ar *do
al.Genre = mf.Genre
al.Artist = mf.Artist
al.AlbumArtist = ar.Name
al.Duration += mf.Duration
if mf.HasCoverArt {
al.CoverArtId = mf.Id