Backport pull request #18192 from jellyfin/release-12.z

Use MusicBrainz artist name first

Original-merge: 311b6345f8

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
juxuanu authored and Cody Robibero committed 2026-10-05 19:18:47 -04:00
1 parent 7dc6544d34
commit 0ce7acdb61
1 file changed
+1 -1
@@ -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();
}