From cb09270fdf35f0b5d071c1031781fd34e82c5331 Mon Sep 17 00:00:00 2001 From: Julien Machiels Date: Sun, 1 Aug 2021 18:38:35 +0200 Subject: [PATCH] Update Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs Co-authored-by: Cody Robibero --- Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs b/Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs index b3cb401..25f10f6 100644 --- a/Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs +++ b/Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs @@ -112,7 +112,7 @@ namespace Jellyfin.Plugin.CoverArtArchive { var release = await _coverArtClient.FetchGroupReleaseAsync(Guid.Parse(musicBrainzGroupId)).ConfigureAwait(false); - var frontImage = release.Images.SingleOrDefault(image => image.Types == CoverArtType.Front); + var frontImage = release.Images.FirstOrDefault(image => image.Types == CoverArtType.Front); if (frontImage is not null) {