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
Vendored
+15
@@ -34,6 +34,21 @@
|
|||||||
"reveal": "silent"
|
"reveal": "silent"
|
||||||
},
|
},
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "make-dist",
|
||||||
|
"command": "powershell",
|
||||||
|
"type": "shell",
|
||||||
|
"args": [
|
||||||
|
"Compress-Archive",
|
||||||
|
"-Path", "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/netstandard2.1/Jellyfin.Plugin.Kinopoisk.dll",
|
||||||
|
"-DestinationPath", "${workspaceFolder}/dist/jellyfin-plugin-kinopoisk_10.6.0.0.zip"
|
||||||
|
],
|
||||||
|
"group": "build",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "silent"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
BIN
Binary file not shown.
Vendored
+23
@@ -0,0 +1,23 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"category": "Metadata",
|
||||||
|
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
|
||||||
|
"name": "КиноПоиск",
|
||||||
|
"overview": "",
|
||||||
|
"owner": "linfor",
|
||||||
|
"description": "Загружает рейтинги сайта КиноПоиск",
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"checksum": "8f43d3943f5f60293c6fb0ccbe560096",
|
||||||
|
"changelog": "new release",
|
||||||
|
"name": "КиноПоиск",
|
||||||
|
"targetAbi": "10.6.0",
|
||||||
|
"runtimes": "netframework,netcore",
|
||||||
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/jellyfin-plugin-kinopoisk_10.6.0.0.zip",
|
||||||
|
"filename": "jellyfin-plugin-kinopoisk_10.6.0.0.zip",
|
||||||
|
"timestamp": "2020-07-07 10:00:00",
|
||||||
|
"version": "10.6.0.0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -3,6 +3,5 @@
|
|||||||
{
|
{
|
||||||
"path": "."
|
"path": "."
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"settings": {}
|
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Jellyfin.Plugin.Kinopoisk.ApiModel;
|
using Jellyfin.Plugin.Kinopoisk.ApiModel;
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
@@ -69,7 +68,7 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
if (src.ExternalId != null)
|
if (src.ExternalId != null)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrWhiteSpace(src.ExternalId.ImdbId))
|
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>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Jellyfin.Controller" Version="10.5.5" />
|
<!-- <PackageReference Include="Jellyfin.Controller" Version="10.6.*" />
|
||||||
<PackageReference Include="Jellyfin.Model" Version="10.5.5" />
|
<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>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ using MediaBrowser.Controller.Entities.Movies;
|
|||||||
using MediaBrowser.Controller.Entities.TV;
|
using MediaBrowser.Controller.Entities.TV;
|
||||||
using MediaBrowser.Controller.Providers;
|
using MediaBrowser.Controller.Providers;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
|
using MediaBrowser.Model.Providers;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Kinopoisk
|
namespace Jellyfin.Plugin.Kinopoisk
|
||||||
{
|
{
|
||||||
@@ -15,6 +16,8 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
|
|
||||||
public string UrlFormatString => "https://www.kinopoisk.ru/film/{0}";
|
public string UrlFormatString => "https://www.kinopoisk.ru/film/{0}";
|
||||||
|
|
||||||
|
public ExternalIdMediaType? Type => null;
|
||||||
|
|
||||||
public bool Supports(IHasProviderIds item)
|
public bool Supports(IHasProviderIds item)
|
||||||
{
|
{
|
||||||
return item is Movie || item is Series;
|
return item is Movie || item is Series;
|
||||||
|
|||||||
Reference in new issue
Block a user