Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e020505ec |
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
# [Choice] .NET version: 5.0, 3.1, 2.1
|
# [Choice] .NET version: 5.0, 3.1, 2.1
|
||||||
ARG VARIANT="6.0"
|
ARG VARIANT="3.1"
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}-focal
|
FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}-focal
|
||||||
|
|
||||||
# Copy library scripts to execute
|
# Copy library scripts to execute
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
# To get started with Dependabot version updates, you'll need to specify which
|
|
||||||
# package ecosystems to update and where the package manifests are located.
|
|
||||||
# Please see the documentation for all configuration options:
|
|
||||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "nuget" # See documentation for possible values
|
|
||||||
directory: "/src" # Location of package manifests
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
name: Pull Request Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup .NET 8.0
|
|
||||||
uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: 8.0.x
|
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
run: dotnet build --configuration Release ./src
|
|
||||||
|
|
||||||
- name: Test project
|
|
||||||
run: dotnet test --configuration Release ./src
|
|
||||||
@@ -1,4 +1,2 @@
|
|||||||
src/*/bin/*
|
src/*/bin/*
|
||||||
src/*/obj/*
|
src/*/obj/*
|
||||||
.devcontainer
|
|
||||||
.DS_Store
|
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+13
-57
@@ -2,63 +2,19 @@
|
|||||||
{
|
{
|
||||||
"category": "Metadata",
|
"category": "Metadata",
|
||||||
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
|
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"overview": "Информация о фильмах и сериалах с КиноПоиска",
|
"overview": "\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0444\u0438\u043b\u044c\u043c\u0430\u0445 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0430\u0445 \u0441 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a\u0430",
|
||||||
"owner": "LinFor & skrashevich",
|
"owner": "skrashevich",
|
||||||
"description": "Загружает рейтинг, описания, актёров, трейлеры и т.д. с сайта КиноПоиск. Может потребоваться зарегистрировать свой ApiToken, см. информацию в параметрах плагина. Для точного распознавания рекомендуется указывать id фильма с сайта КиноПоиск в имени файла в формате kp-12345 или kp12345. Подробнее см. https://github.com/LinFor/jellyfin-plugin-kinopoisk/blob/master/README.md\n",
|
"description": "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f, \u0430\u043a\u0442\u0451\u0440\u043e\u0432, \u0442\u0440\u0435\u0439\u043b\u0435\u0440\u044b \u0438 \u0442.\u0434. \u0441 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a. \u041c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 ApiToken, \u0441\u043c. \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430. \u0414\u043b\u044f \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c id \u0444\u0438\u043b\u044c\u043c\u0430 \u0441 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a \u0432 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 kp-12345 \u0438\u043b\u0438 kp12345. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c. https://github.com/LinFor/jellyfin-plugin-kinopoisk/blob/master/README.md\n",
|
||||||
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
|
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
|
||||||
"version": "10.9.0.0",
|
|
||||||
"checksum": "46f29865d6ddb8e66f577ffd93cb8a55",
|
|
||||||
"changelog": "new release",
|
|
||||||
"name": "КиноПоиск",
|
|
||||||
"targetAbi": "10.9.0",
|
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.9.0.0.zip",
|
|
||||||
"timestamp": "2024-05-15T15:11:12Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "10.8.9.3",
|
|
||||||
"checksum": "b884a366e1da7e826267e8f13a3c1a09",
|
|
||||||
"changelog": "new release",
|
|
||||||
"name": "КиноПоиск",
|
|
||||||
"targetAbi": "10.8.8.0",
|
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.8.9.3.zip",
|
|
||||||
"timestamp": "2023-06-14T22:56:46Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "10.8.9.2",
|
|
||||||
"checksum": "8cbefa9f1aa03dc054d0d8a83f49eb6b",
|
|
||||||
"changelog": "new release",
|
|
||||||
"name": "КиноПоиск",
|
|
||||||
"targetAbi": "10.8.8.0",
|
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.8.9.2.zip",
|
|
||||||
"timestamp": "2023-02-08T16:42:11Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "10.8.9.1",
|
|
||||||
"checksum": "d15934ff981be4d7df861cd35a862971",
|
|
||||||
"changelog": "new release",
|
|
||||||
"name": "КиноПоиск",
|
|
||||||
"targetAbi": "10.8.8.0",
|
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.8.9.1.zip",
|
|
||||||
"timestamp": "2023-02-08T16:10:12Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "10.8.9.1",
|
|
||||||
"checksum": "3790c3375057977320a77fe004f7c17f",
|
|
||||||
"changelog": "new release",
|
|
||||||
"targetAbi": "10.8.0",
|
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.8.9.1.zip",
|
|
||||||
"timestamp": "2023-02-08T15:37:42Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "10.7.5.6",
|
"version": "10.7.5.6",
|
||||||
"changelog": "Update to .NET 7\n",
|
"changelog": "Update to .NET 7\n",
|
||||||
"targetAbi": "10.7.0",
|
"targetAbi": "10.7.0",
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.6.zip",
|
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.6.zip",
|
||||||
"checksum": "60310678f450ca7f0da3811642ae2bc4",
|
"checksum": "e893b5961393e8b2cdf11c70c8563cb1",
|
||||||
"timestamp": "2023-01-22T03:34:00Z"
|
"timestamp": "2023-01-22T03:16:00Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "10.7.5.4",
|
"version": "10.7.5.4",
|
||||||
@@ -94,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "10.7.5.0",
|
"version": "10.7.5.0",
|
||||||
"changelog": "Short: Huge improvement in auto-identifying of movies. Rus: Значительно улучшено авто-привязка фильмов при добавлении в медиатеку. Пытаюсь найти идентификатор кинопоиска по паттерну kp-12345 или kp12345 в имени файла/папки. Пытаюсь найти единственное совпадение на кинопоиске по имени + году. Пытаюсь перебрать все совпадения по имени + сравнение IMDB ID.\n",
|
"changelog": "Short: Huge improvement in auto-identifying of movies. Rus: \u0417\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043e \u0430\u0432\u0442\u043e-\u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u043f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0432 \u043c\u0435\u0434\u0438\u0430\u0442\u0435\u043a\u0443. \u041f\u044b\u0442\u0430\u044e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0438\u043d\u043e\u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0443 kp-12345 \u0438\u043b\u0438 kp12345 \u0432 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430/\u043f\u0430\u043f\u043a\u0438. \u041f\u044b\u0442\u0430\u044e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0438\u043d\u043e\u043f\u043e\u0438\u0441\u043a\u0435 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 + \u0433\u043e\u0434\u0443. \u041f\u044b\u0442\u0430\u044e\u0441\u044c \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0438\u043c\u0435\u043d\u0438 + \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 IMDB ID.\n",
|
||||||
"targetAbi": "10.7.0",
|
"targetAbi": "10.7.0",
|
||||||
"sourceUrl": "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.0.zip",
|
"sourceUrl": "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.0.zip",
|
||||||
"checksum": "ea7eabac0fc4d1891529616a16a02897",
|
"checksum": "ea7eabac0fc4d1891529616a16a02897",
|
||||||
@@ -127,7 +83,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "8d77d5f4de0bdf0abbce76cf8e5a251d",
|
"checksum": "8d77d5f4de0bdf0abbce76cf8e5a251d",
|
||||||
"changelog": "Fixed rating parsing",
|
"changelog": "Fixed rating parsing",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.7.0",
|
"targetAbi": "10.7.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.2.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.2.zip",
|
||||||
@@ -138,7 +94,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "9051c982f7846af34249ed9969012c17",
|
"checksum": "9051c982f7846af34249ed9969012c17",
|
||||||
"changelog": "Fixed some actor professions parsing",
|
"changelog": "Fixed some actor professions parsing",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.7.0",
|
"targetAbi": "10.7.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.1.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.1.zip",
|
||||||
@@ -149,7 +105,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "ec7cfeff6a88f2427057d1bb6fb150b6",
|
"checksum": "ec7cfeff6a88f2427057d1bb6fb150b6",
|
||||||
"changelog": "Jellyfin v10.7 compat",
|
"changelog": "Jellyfin v10.7 compat",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.7.0",
|
"targetAbi": "10.7.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.0.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.0.zip",
|
||||||
@@ -160,7 +116,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "50674e215597995b96da17b49ee7ad62",
|
"checksum": "50674e215597995b96da17b49ee7ad62",
|
||||||
"changelog": "fix NRE in person provider",
|
"changelog": "fix NRE in person provider",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.6.0",
|
"targetAbi": "10.6.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.2.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.2.zip",
|
||||||
@@ -171,7 +127,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "a877cde0df7d70266fdb9362b72884c1",
|
"checksum": "a877cde0df7d70266fdb9362b72884c1",
|
||||||
"changelog": "new release",
|
"changelog": "new release",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.6.0",
|
"targetAbi": "10.6.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.1.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.1.zip",
|
||||||
@@ -182,7 +138,7 @@
|
|||||||
{
|
{
|
||||||
"checksum": "8f43d3943f5f60293c6fb0ccbe560096",
|
"checksum": "8f43d3943f5f60293c6fb0ccbe560096",
|
||||||
"changelog": "new release",
|
"changelog": "new release",
|
||||||
"name": "КиноПоиск",
|
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
||||||
"targetAbi": "10.6.0",
|
"targetAbi": "10.6.0",
|
||||||
"runtimes": "netframework,netcore",
|
"runtimes": "netframework,netcore",
|
||||||
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.0.zip",
|
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.0.zip",
|
||||||
|
|||||||
Executable → Regular
+2
-62
@@ -1,64 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
VERSION="10.9.0.0"
|
|
||||||
CHANGELOG="Fix bugs"
|
|
||||||
|
|
||||||
check_command() {
|
jprm repo add -u https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
|
||||||
if ! command -v $1 &> /dev/null
|
rm ./artifacts/*
|
||||||
then
|
|
||||||
echo "Error: $1 could not be found. Please install it."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Check for required commands
|
|
||||||
check_command gsed
|
|
||||||
|
|
||||||
brew link --overwrite dotnet@8
|
|
||||||
export PATH="/usr/local/opt/dotnet@8/bin:$PATH"
|
|
||||||
|
|
||||||
find . -name project.assets.json -delete
|
|
||||||
|
|
||||||
gsed -i'' "s/version: .*/version: \"$VERSION\"/" src/Jellyfin.Plugin.Kinopoisk/build.yaml
|
|
||||||
BUILDYAML=`head -$(grep -n "changelog: >" src/Jellyfin.Plugin.Kinopoisk/build.yaml | head -1 | cut -d: -f1) src/Jellyfin.Plugin.Kinopoisk/build.yaml`
|
|
||||||
echo -e "$BUILDYAML\n $CHANGELOG" > src/Jellyfin.Plugin.Kinopoisk/build.yaml
|
|
||||||
|
|
||||||
dotnet restore ./src/Jellyfin.Plugin.Kinopoisk/
|
|
||||||
dotnet build --configuration Release ./src/Jellyfin.Plugin.Kinopoisk/
|
|
||||||
|
|
||||||
RELEASEDIR="$(pwd)/dist/kinopoisk/kinopoisk_$VERSION"
|
|
||||||
rm -rf "$RELEASEDIR" "$RELEASEDIR.zip"
|
|
||||||
mkdir -p "$RELEASEDIR"
|
|
||||||
cp "$(pwd)/src/Jellyfin.Plugin.Kinopoisk/bin/Release/net8.0/Jellyfin.Plugin.Kinopoisk.dll" "$RELEASEDIR/"
|
|
||||||
cp "$(pwd)/src/KinopoiskUnofficialInfo.ApiClient/bin/Release/net8.0/KinopoiskUnofficialInfo.ApiClient.dll" "$RELEASEDIR/"
|
|
||||||
cat << EOF > "dist/kinopoisk/kinopoisk_$VERSION/meta.json"
|
|
||||||
{
|
|
||||||
"category": "Metadata",
|
|
||||||
"changelog": "$CHANGELOG",
|
|
||||||
"description": "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f, \u0430\u043a\u0442\u0451\u0440\u043e\u0432, \u0442\u0440\u0435\u0439\u043b\u0435\u0440\u044b \u0438 \u0442.\u0434. \u0441 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a. \u041c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 ApiToken, \u0441\u043c. \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430. \u0414\u043b\u044f \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c id \u0444\u0438\u043b\u044c\u043c\u0430 \u0441 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a \u0432 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 kp-12345 \u0438\u043b\u0438 kp12345. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c. https://github.com/LinFor/jellyfin-plugin-kinopoisk/blob/master/README.md\n",
|
|
||||||
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
|
|
||||||
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
|
|
||||||
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
|
|
||||||
"overview": "\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0444\u0438\u043b\u044c\u043c\u0430\u0445 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0430\u0445 \u0441 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a\u0430",
|
|
||||||
"owner": "svk",
|
|
||||||
"targetAbi": "10.9.0",
|
|
||||||
"timestamp": "$(date -u "+%Y-%m-%dT%H:%M:%SZ")",
|
|
||||||
"version": "$VERSION"
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
echo $( cd $RELEASEDIR; zip -j "../kinopoisk_$VERSION.zip" *)
|
|
||||||
rm -rf "$RELEASEDIR"
|
|
||||||
HASH=$(md5sum "$RELEASEDIR.zip" | cut -d' ' -f1)
|
|
||||||
|
|
||||||
jq --arg HASH "$HASH" --arg URL "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_$VERSION.zip" \
|
|
||||||
--arg TIMESTAMP "$(date -u "+%Y-%m-%dT%H:%M:%SZ")" \
|
|
||||||
--arg VERSION "$VERSION" \
|
|
||||||
'.[0].versions |= [{"version": $VERSION, "checksum": $HASH, "changelog": "new release", "name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a", "targetAbi": "10.9.0", "sourceUrl": $URL, "timestamp": $TIMESTAMP}] + .' \
|
|
||||||
"$(pwd)/dist/manifest.json" > "$(pwd)/dist/manifest.json.tmp" && \
|
|
||||||
mv "$(pwd)/dist/manifest.json.tmp" "$(pwd)/dist/manifest.json"
|
|
||||||
exit
|
|
||||||
#jprm repo add -u https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
|
|
||||||
rm -rf ./artifacts/*
|
|
||||||
git add "$RELEASEDIR.zip" "dist/manifest.json" "publish.sh" "src/Jellyfin.Plugin.Kinopoisk/build.yaml" && \
|
|
||||||
git commit -m "version $VERSION" && \
|
|
||||||
git tag -f "v$VERSION" #&& \
|
|
||||||
git push --force && git push --tags --force
|
|
||||||
@@ -1,17 +1,17 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||||
<PackageReference Include="xunit" Version="2.4.2" />
|
<PackageReference Include="xunit" Version="2.4.0" />
|
||||||
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
|
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
|
||||||
<PackageReference Include="coverlet.collector" Version="3.2.0" />
|
<PackageReference Include="coverlet.collector" Version="1.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -14,7 +14,11 @@ EndProject
|
|||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
@@ -22,19 +26,51 @@ Global
|
|||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|Any CPU.Build.0 = Release|Any CPU
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{92F27832-191C-414F-A50D-5098D5C5C35C}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{440F7DCA-3815-4B72-8984-8630250801A5}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|Any CPU.Build.0 = Release|Any CPU
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{9584F66B-8EAB-4CA8-AC55-E9503EA23CC9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{0AB018D0-655E-48DF-B414-22EA61C926C9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
@@ -9,8 +9,6 @@ using MediaBrowser.Controller.Entities.TV;
|
|||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
using MediaBrowser.Model.Providers;
|
using MediaBrowser.Model.Providers;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Jellyfin.Data.Enums;
|
|
||||||
using Jellyfin.Extensions;
|
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Kinopoisk
|
namespace Jellyfin.Plugin.Kinopoisk
|
||||||
{
|
{
|
||||||
@@ -239,7 +237,7 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
{
|
{
|
||||||
Name = src.NameRu,
|
Name = src.NameRu,
|
||||||
ImageUrl = src.PosterUrl,
|
ImageUrl = src.PosterUrl,
|
||||||
Role = src.ProfessionText ?? null,
|
Role = src.ProfessionText ?? string.Empty,
|
||||||
Type = src.ProfessionKey.ToPersonType()
|
Type = src.ProfessionKey.ToPersonType()
|
||||||
};
|
};
|
||||||
if (string.IsNullOrWhiteSpace(res.Name))
|
if (string.IsNullOrWhiteSpace(res.Name))
|
||||||
@@ -265,16 +263,16 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PersonKind ToPersonType(this StaffResponseProfessionKey src)
|
public static string ToPersonType(this StaffResponseProfessionKey src)
|
||||||
{
|
{
|
||||||
return src switch
|
return src switch
|
||||||
{
|
{
|
||||||
StaffResponseProfessionKey.ACTOR => PersonKind.Actor,
|
StaffResponseProfessionKey.ACTOR => PersonType.Actor,
|
||||||
StaffResponseProfessionKey.DIRECTOR => PersonKind.Director,
|
StaffResponseProfessionKey.DIRECTOR => PersonType.Director,
|
||||||
StaffResponseProfessionKey.WRITER => PersonKind.Writer,
|
StaffResponseProfessionKey.WRITER => PersonType.Writer,
|
||||||
StaffResponseProfessionKey.COMPOSER => PersonKind.Composer,
|
StaffResponseProfessionKey.COMPOSER => PersonType.Composer,
|
||||||
StaffResponseProfessionKey.PRODUCER or StaffResponseProfessionKey.PRODUCER_USSR => PersonKind.Producer,
|
StaffResponseProfessionKey.PRODUCER or StaffResponseProfessionKey.PRODUCER_USSR => PersonType.Producer,
|
||||||
// _ => PersonKind,
|
_ => string.Empty,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -452,5 +450,6 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
res = src?.NameEn;
|
res = src?.NameEn;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
<DebugType>portable</DebugType>
|
<DebugType>portable</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
@@ -11,11 +11,18 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Jellyfin.Data" Version="10.*-*" />
|
<PackageReference Include="Jellyfin.Controller" Version="10.*">
|
||||||
<PackageReference Include="Jellyfin.Controller" Version="10.*-*" />
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
<PackageReference Include="Jellyfin.Common" Version="10.*-*" />
|
</PackageReference>
|
||||||
<PackageReference Include="Jellyfin.Model" Version="10.*-*" />
|
<PackageReference Include="Jellyfin.Model" Version="10.*">
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0">
|
||||||
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="System.Text.Json" Version="6.*">
|
||||||
|
<IncludeAssets>compile</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using Jellyfin.Plugin.Kinopoisk.ProviderIdResolvers;
|
using Jellyfin.Plugin.Kinopoisk.ProviderIdResolvers;
|
||||||
using KinopoiskUnofficialInfo.ApiClient;
|
using KinopoiskUnofficialInfo.ApiClient;
|
||||||
using MediaBrowser.Controller;
|
using MediaBrowser.Common.Plugins;
|
||||||
using MediaBrowser.Controller.Plugins;
|
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Controller.Providers;
|
using MediaBrowser.Controller.Providers;
|
||||||
using Microsoft.Extensions.Caching.Memory;
|
using Microsoft.Extensions.Caching.Memory;
|
||||||
@@ -16,7 +15,7 @@ namespace Jellyfin.Plugin.Kinopoisk
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class KinopoiskPluginServiceRegistrator : IPluginServiceRegistrator
|
public class KinopoiskPluginServiceRegistrator : IPluginServiceRegistrator
|
||||||
{
|
{
|
||||||
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
|
public void RegisterServices(IServiceCollection serviceCollection)
|
||||||
{
|
{
|
||||||
serviceCollection.AddSingleton((sp) => new KinopoiskApiClient(
|
serviceCollection.AddSingleton((sp) => new KinopoiskApiClient(
|
||||||
Plugin.Instance.Configuration.ApiToken,
|
Plugin.Instance.Configuration.ApiToken,
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
name: "КиноПоиск"
|
name: "КиноПоиск"
|
||||||
guid: "0c136f8a-ff77-4f2b-ade5-13462cae6216"
|
guid: "0c136f8a-ff77-4f2b-ade5-13462cae6216"
|
||||||
imageUrl: "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png"
|
imageUrl: "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png"
|
||||||
version: "10.9.0.0"
|
version: "10.7.5.6"
|
||||||
targetAbi: "10.9.0"
|
targetAbi: "10.7.0"
|
||||||
framework: "net8.0"
|
framework: "net7.0"
|
||||||
owner: "svk"
|
owner: "linfor"
|
||||||
overview: "Информация о фильмах и сериалах с КиноПоиска"
|
overview: "Информация о фильмах и сериалах с КиноПоиска"
|
||||||
description: >
|
description: >
|
||||||
Загружает рейтинг, описания, актёров, трейлеры и т.д. с сайта КиноПоиск.
|
Загружает рейтинг, описания, актёров, трейлеры и т.д. с сайта КиноПоиск.
|
||||||
@@ -17,4 +17,4 @@ artifacts:
|
|||||||
- "Jellyfin.Plugin.Kinopoisk.dll"
|
- "Jellyfin.Plugin.Kinopoisk.dll"
|
||||||
- "KinopoiskUnofficialInfo.ApiClient.dll"
|
- "KinopoiskUnofficialInfo.ApiClient.dll"
|
||||||
changelog: >
|
changelog: >
|
||||||
Fix bugs
|
Search fixed in case of null premiere date
|
||||||
+7
-7
@@ -1,22 +1,22 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
|
||||||
<PackageReference Include="xunit" Version="2.4.2" />
|
<PackageReference Include="xunit" Version="2.4.1" />
|
||||||
<PackageReference Include="Moq" Version="4.18.4" />
|
<PackageReference Include="Moq" Version="4.16.1" />
|
||||||
<PackageReference Include="VCR.net" Version="0.1.3" />
|
<PackageReference Include="VCR.net" Version="0.1.3" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="coverlet.collector" Version="3.2.0">
|
<PackageReference Include="coverlet.collector" Version="1.3.0">
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||||
<PackageReference Include="NSwag.MSBuild" Version="13.18.2">
|
<PackageReference Include="NSwag.MSBuild" Version="13.11.1">
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</ItemGroup> -->
|
</ItemGroup> -->
|
||||||
|
|
||||||
<Target Name="GenerateApiClientSourceCode">
|
<Target Name="GenerateApiClientSourceCode">
|
||||||
<Exec Command="$(NSwagExe_Net60) openapi2csclient /runtime:Net60 /input:https://kinopoiskapiunofficial.tech/documentation/api/openapi.json /namespace:KinopoiskUnofficialInfo.ApiClient /JsonSerializerSettingsTransformationMethod:KinopoiskUnofficialInfo.ApiClient.JsonTransformator.TransformSettings /output:GeneratedClient.generated.cs" />
|
<Exec Command="$(NSwagExe_Net50) openapi2csclient /runtime:Net50 /input:https://kinopoiskapiunofficial.tech/documentation/api/openapi.json /namespace:KinopoiskUnofficialInfo.ApiClient /JsonSerializerSettingsTransformationMethod:KinopoiskUnofficialInfo.ApiClient.JsonTransformator.TransformSettings /output:GeneratedClient.generated.cs" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="GeneratedClient.generated.cs" />
|
<Compile Include="GeneratedClient.generated.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in new issue
Block a user