Merge pull request #11357 from crobibero/album-artist

fix: fallback to artist if album artist not provided
This commit is contained in:
Bond-009 2024-04-16 12:04:21 +02:00 committed by GitHub
commit 014c9c3cdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -338,6 +338,12 @@ namespace MediaBrowser.Providers.MediaInfo
audio.Artists = performers;
}
if (albumArtists.Length == 0)
{
// Album artists not provided, fall back to performers (artists).
albumArtists = performers;
}
if (options.ReplaceAllMetadata && albumArtists.Length != 0)
{
audio.AlbumArtists = albumArtists;