mirror of
https://github.com/jellyfin/jellyfin-plugin-coverartarchive.git
synced 2024-11-23 05:49:55 +00:00
Update Jellyfin.Plugin.CoverArtArchive/CoverArtArchiveImageProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
4b427f130e
commit
cb09270fdf
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user