aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuxuanu <icar.nin@protonmail.com>2026-10-05 19:18:47 -0400
committerCody Robibero <cody@robibe.ro>2026-10-05 19:18:47 -0400
commit0ce7acdb614cb0d402fb5ff53878e3f9da664bb4 (patch)
tree6f47e0095e2b0a5e7b517b699a4d7260718b754c
parent7dc6544d3441187f73393dac54dc358b3ceb98ed (diff)
Backport pull request #18192 from jellyfin/release-12.z
Use MusicBrainz artist name first Original-merge: 311b6345f81676e099c9e45fe7095080ccd40249 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
-rw-r--r--MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs b/MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs
index 55913aa3fc..d8e6acae17 100644
--- a/MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs
+++ b/MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs
@@ -290,7 +290,7 @@ public class MusicBrainzAlbumProvider : IRemoteMetadataProvider<MusicAlbum, Albu
if (artistCredit is not null && artistCredit.Count > 0)
{
item.AlbumArtists = artistCredit
- .Select(credit => credit.Name)
+ .Select(credit => credit.Artist?.Name ?? credit.Name)
.Where(name => !string.IsNullOrWhiteSpace(name))
.ToArray();
}