Fixing ArtistName for Compilations / Various Artists

This commit is contained in:
Deluan 2016-03-04 17:35:13 -05:00
parent 7f93a18f4f
commit 8ff1a94d75
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ func (c *GetMusicDirectoryController) buildArtistDir(a *domain.Artist, albums []
dir.Child[i].Parent = al.ArtistId
dir.Child[i].Album = al.Name
dir.Child[i].Year = al.Year
dir.Child[i].Artist = al.Artist
dir.Child[i].Artist = al.AlbumArtist
dir.Child[i].Genre = al.Genre
dir.Child[i].CoverArt = al.CoverArtId
if al.Starred {

View File

@ -110,7 +110,7 @@ func (s *ItunesScanner) collectAlbums(t *itl.Track, mf *domain.MediaFile, ar *do
al.PlayCount += t.PlayCount
al.Genre = mf.Genre
al.Artist = mf.Artist
al.AlbumArtist = mf.AlbumArtist
al.AlbumArtist = ar.Name
if mf.HasCoverArt {
al.CoverArtId = mf.Id