From d402005d328d48c39f36e95be6577e7ed5d98cf1 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Sun, 14 Apr 2024 14:29:55 -0600 Subject: [PATCH] fix: fallback to artist if album artist not provided --- MediaBrowser.Providers/MediaInfo/AudioFileProber.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs index 67b84681de..bbc9af2277 100644 --- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs +++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs @@ -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;