mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-11 22:50:00 +00:00
Merge pull request #18192 from juxuanu/patch-1
Use MusicBrainz artist name first
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user