mirror of
https://github.com/jellyfin/jellyfin-plugin-coverartarchive.git
synced 2024-11-26 23:50:56 +00:00
Update Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
bf35aeae8f
commit
4b427f130e
@ -81,7 +81,7 @@ namespace Jellyfin.Plugin.CoverArtArchive
|
||||
{
|
||||
var release = await _coverArtClient.FetchReleaseAsync(Guid.Parse(musicBrainzId)).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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user