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
@@ -64,6 +64,7 @@ func FromAlbum(al *domain.Album) Entry {
c.AlbumId = al.Id
c.ArtistId = al.ArtistId
c.UserRating = al.Rating
c.Duration = al.Duration
return c
}