Make 10.6 abi compatible and try to make release
This commit is contained in:
1 parent
a143904a33
commit
fe545c7a14
7 files changed
+47
-6
No files matched your search
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using Jellyfin.Plugin.Kinopoisk.ApiModel;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
@@ -69,7 +68,7 @@ namespace Jellyfin.Plugin.Kinopoisk
|
||||
if (src.ExternalId != null)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(src.ExternalId.ImdbId))
|
||||
dst.SetProviderId(MetadataProviders.Imdb, src.ExternalId.ImdbId);
|
||||
dst.SetProviderId(MetadataProvider.Imdb, src.ExternalId.ImdbId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,10 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.5.5" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.5.5" />
|
||||
<!-- <PackageReference Include="Jellyfin.Controller" Version="10.6.*" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.6.*" /> -->
|
||||
<ProjectReference Include="..\..\..\..\temp-jellyfin-src\MediaBrowser.Common\MediaBrowser.Common.csproj" />
|
||||
<ProjectReference Include="..\..\..\..\temp-jellyfin-src\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,6 +2,7 @@ using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
|
||||
namespace Jellyfin.Plugin.Kinopoisk
|
||||
{
|
||||
@@ -15,6 +16,8 @@ namespace Jellyfin.Plugin.Kinopoisk
|
||||
|
||||
public string UrlFormatString => "https://www.kinopoisk.ru/film/{0}";
|
||||
|
||||
public ExternalIdMediaType? Type => null;
|
||||
|
||||
public bool Supports(IHasProviderIds item)
|
||||
{
|
||||
return item is Movie || item is Series;
|
||||
|
||||
Reference in new issue
Block a user