mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-26 16:45:09 +00:00
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:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user