mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-23 21:47:14 -04:00
fix: fallback to artist if album artist not provided
This commit is contained in:
parent
6fb6b5f176
commit
d402005d32
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue