feat: rename year to max_year and add min_year to album. #118

This commit is contained in:
Deluan 2020-03-27 20:01:08 -04:00
commit 53e8a92fed
10 changed files with 95 additions and 14 deletions

View file

@ -65,7 +65,7 @@ func FromAlbum(al *model.Album) Entry {
e.IsDir = true
e.Parent = al.AlbumArtistID
e.Album = al.Name
e.Year = al.Year
e.Year = al.MaxYear
e.Artist = al.AlbumArtist
e.Genre = al.Genre
e.CoverArt = al.CoverArtId