mirror of
https://github.com/jellyfin/jellyfin-plugin-coverartarchive.git
synced 2024-11-22 21:39:42 +00:00
10.9 (#35)
This commit is contained in:
parent
cdc4162651
commit
a0f522ec54
@ -79,7 +79,7 @@ namespace Jellyfin.Plugin.CoverArtArchive
|
||||
{
|
||||
try
|
||||
{
|
||||
var release = await _coverArtClient.FetchReleaseAsync(Guid.Parse(musicBrainzId)).ConfigureAwait(false);
|
||||
var release = await _coverArtClient.FetchReleaseAsync(Guid.Parse(musicBrainzId), cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var frontImage = release.Images.FirstOrDefault(image => image.Types == CoverArtType.Front);
|
||||
|
||||
@ -110,7 +110,7 @@ namespace Jellyfin.Plugin.CoverArtArchive
|
||||
{
|
||||
try
|
||||
{
|
||||
var release = await _coverArtClient.FetchGroupReleaseAsync(Guid.Parse(musicBrainzGroupId)).ConfigureAwait(false);
|
||||
var release = await _coverArtClient.FetchGroupReleaseAsync(Guid.Parse(musicBrainzGroupId), cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var frontImage = release.Images.FirstOrDefault(image => image.Types.HasFlag(CoverArtType.Front));
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<RootNamespace>Jellyfin.Plugin.CoverArtArchive</RootNamespace>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
@ -13,9 +13,9 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.*-*" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.*-*" />
|
||||
<PackageReference Include="MetaBrainz.Common.Json" Version="5.1.0" />
|
||||
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="4.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
|
||||
<PackageReference Include="MetaBrainz.Common.Json" Version="6.0.2" />
|
||||
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -2,8 +2,8 @@ name: "Cover Art Archive"
|
||||
guid: "8119f3c6-cfc2-4d9c-a0ba-028f1d93e526"
|
||||
imageUrl: "https://repo.jellyfin.org/releases/plugin/images/jellyfin-plugin-coverartarchive.png"
|
||||
version: "8"
|
||||
targetAbi: "10.8.0.0"
|
||||
framework: "net6.0"
|
||||
targetAbi: "10.9.0.0"
|
||||
framework: "net8.0"
|
||||
overview: "MusicBrainz Cover Art Archive"
|
||||
description: >
|
||||
This plugin provides images from the Cover Art Archive https://musicbrainz.org/doc/Cover_Art_Archive and depends on the MusicBrainz metadata provider to know what images belong where
|
||||
@ -15,8 +15,3 @@ artifacts:
|
||||
- "MetaBrainz.Common.Json.dll"
|
||||
- "MetaBrainz.MusicBrainz.CoverArt.dll"
|
||||
changelog: |2-
|
||||
### Bug Fixes ###
|
||||
- fix client string (#19) @Shadowghost
|
||||
|
||||
### Code or Repo Maintenance ###
|
||||
- Fix readme (#20) @Shadowghost
|
||||
|
Loading…
Reference in New Issue
Block a user