Merge pull request #18192 from juxuanu/patch-1

Use MusicBrainz artist name first
This commit is contained in:
Cody Robibero
2026-09-27 15:31:47 -04:00
committed by GitHub
@@ -290,7 +290,7 @@ public class MusicBrainzAlbumProvider : IRemoteMetadataProvider<MusicAlbum, Albu
if (artistCredit is not null && artistCredit.Count > 0) if (artistCredit is not null && artistCredit.Count > 0)
{ {
item.AlbumArtists = artistCredit item.AlbumArtists = artistCredit
.Select(credit => credit.Name) .Select(credit => credit.Artist?.Name ?? credit.Name)
.Where(name => !string.IsNullOrWhiteSpace(name)) .Where(name => !string.IsNullOrWhiteSpace(name))
.ToArray(); .ToArray();
} }