mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fix: fallback to artist if album artist not provided
This commit is contained in:
parent
6fb6b5f176
commit
d402005d32
@ -338,6 +338,12 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
audio.Artists = performers;
|
audio.Artists = performers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (albumArtists.Length == 0)
|
||||||
|
{
|
||||||
|
// Album artists not provided, fall back to performers (artists).
|
||||||
|
albumArtists = performers;
|
||||||
|
}
|
||||||
|
|
||||||
if (options.ReplaceAllMetadata && albumArtists.Length != 0)
|
if (options.ReplaceAllMetadata && albumArtists.Length != 0)
|
||||||
{
|
{
|
||||||
audio.AlbumArtists = albumArtists;
|
audio.AlbumArtists = albumArtists;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user