mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 21:37:40 +03:00
Fixing ArtistName for Compilations / Various Artists
This commit is contained in:
parent
7f93a18f4f
commit
8ff1a94d75
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user