Compare commits

...
25 Commits
Author SHA1 Message Date
Sergey Krashevich dda650f925 version 10.7.5.7 2023-02-08 16:23:28 +03:00
Sergey Krashevich 3cbdeef795 version 10.7.5.7 2023-02-08 16:10:19 +03:00
Sergey Krashevich 1302103778 Update publish.sh 2023-02-08 16:09:18 +03:00
Sergey Krashevich d13ae70bb4 small build process changes 2023-02-08 16:00:07 +03:00
Sergey Krashevich 11d8246434 Update ApiModelExtensions.cs 2023-02-08 14:48:54 +03:00
Sergey Krashevich 0fbc46cc3b Merge branch 'master' of https://github.com/skrashevich/jellyfin-plugin-kinopoisk 2023-02-08 14:47:56 +03:00
dependabot[bot] 8ba992c4bc Bump Microsoft.Extensions.Http from 6.0.0 to 7.0.0 in /src
Bumps [Microsoft.Extensions.Http](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 14:47:38 +03:00
Sergey Krashevich 0b1610d5fb Merge branch 'master' of https://github.com/skrashevich/jellyfin-plugin-kinopoisk 2023-02-08 14:47:23 +03:00
Sergey Krashevich edad417d6d Update .gitignore 2023-02-08 14:47:19 +03:00
Sergey Krashevich aeb97b0c0c Update KinopoiskUnofficialInfo.ApiClient.csproj 2023-02-08 14:47:16 +03:00
dependabot[bot] 40cf39c929 Bump coverlet.collector from 1.2.0 to 3.2.0 in /src
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.2.0 to 3.2.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v1.2.0...v3.2.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 14:46:43 +03:00
dependabot[bot] 17e4df20bf Update System.Text.Json requirement from 6.* to 7.* in /src
Updates the requirements on [System.Text.Json](https://github.com/dotnet/runtime) to permit the latest version.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 14:45:55 +03:00
dependabot[bot] aa95daa6cc Bump Microsoft.Extensions.Caching.Abstractions in /src
Bumps [Microsoft.Extensions.Caching.Abstractions](https://github.com/dotnet/runtime) from 5.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Caching.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 14:45:33 +03:00
dependabot[bot] 9d2d75ead3 Bump NSwag.MSBuild from 13.11.1 to 13.18.2 in /src
Bumps [NSwag.MSBuild](https://github.com/RicoSuter/NSwag) from 13.11.1 to 13.18.2.
- [Release notes](https://github.com/RicoSuter/NSwag/releases)
- [Changelog](https://github.com/RicoSuter/NSwag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RicoSuter/NSwag/commits/v13.18.2)

---
updated-dependencies:
- dependency-name: NSwag.MSBuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 14:45:03 +03:00
dependabot[bot] 5e5b7bc330 Bump xunit.runner.visualstudio from 2.4.0 to 2.4.5 in /src
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.0 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 23:25:41 +03:00
dependabot[bot] 0eebae33dd Bump Moq from 4.16.1 to 4.18.4 in /src
Bumps [Moq](https://github.com/moq/moq4) from 4.16.1 to 4.18.4.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.16.1...v4.18.4)

---
updated-dependencies:
- dependency-name: Moq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 23:22:53 +03:00
Sergey Krashevich 00516ede4c Merge pull request #4 from skrashevich/dependabot/nuget/src/Microsoft.Extensions.Logging-7.0.0
Bump Microsoft.Extensions.Logging from 5.0.0 to 7.0.0 in /src
2023-01-23 23:21:29 +03:00
Sergey Krashevich 554bb0ca17 Merge branch 'master' into dependabot/nuget/src/Microsoft.Extensions.Logging-7.0.0 2023-01-23 23:20:01 +03:00
dependabot[bot] f30eb962c0 Bump Newtonsoft.Json from 12.0.3 to 13.0.2 in /src
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 23:15:51 +03:00
Sergey Krashevich d8bdd7d64d Create pull.yaml 2023-01-23 23:14:31 +03:00
dependabot[bot] 801c69ee0f Bump Microsoft.Extensions.Logging from 5.0.0 to 7.0.0 in /src
Bumps [Microsoft.Extensions.Logging](https://github.com/dotnet/runtime) from 5.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 19:53:27 +00:00
dependabot[bot] b56c5fd915 Bump xunit from 2.4.0 to 2.4.2 in /src
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases)
- [Commits](https://github.com/xunit/xunit/compare/2.4...2.4.2)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 22:52:43 +03:00
dependabot[bot] d71fdd90fc Bump Newtonsoft.Json in /src/KinopoiskUnofficialInfo.ApiClient
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 22:52:17 +03:00
Sergey Krashevich ffa68e2e70 Create dependabot.yml 2023-01-23 22:51:04 +03:00
Sergey Krashevich b32062c125 v10.7.5.6
Upgrade to .NET 6
2023-01-22 06:35:55 +03:00
14 changed files with 122 additions and 36 deletions

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
# [Choice] .NET version: 5.0, 3.1, 2.1
ARG VARIANT="3.1"
ARG VARIANT="6.0"
FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}-focal
# Copy library scripts to execute
+11
View File
@@ -0,0 +1,11 @@
# 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"
+25
View File
@@ -0,0 +1,25 @@
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 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build project
run: dotnet build --configuration Release ./src
- name: Test project
run: dotnet test --configuration Release ./src
+2
View File
@@ -1,2 +1,4 @@
src/*/bin/*
src/*/obj/*
.devcontainer
.DS_Store
Binary file not shown.
Binary file not shown.
+28 -11
View File
@@ -2,12 +2,29 @@
{
"category": "Metadata",
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
"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": "linfor",
"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",
"name": "КиноПоиск",
"overview": "Информация о фильмах и сериалах с КиноПоиска",
"owner": "skrashevich",
"description": "Загружает рейтинг, описания, актёров, трейлеры и т.д. с сайта КиноПоиск. Может потребоваться зарегистрировать свой ApiToken, см. информацию в параметрах плагина. Для точного распознавания рекомендуется указывать id фильма с сайта КиноПоиск в имени файла в формате kp-12345 или kp12345. Подробнее см. https://github.com/LinFor/jellyfin-plugin-kinopoisk/blob/master/README.md\n",
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
"versions": [
{
"version": "10.7.5.7",
"checksum": "df1c6ea557e12c3d7d29ff96c1257b66",
"changelog": "new release",
"name": "КиноПоиск",
"targetAbi": "10.8.8.0",
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.7.zip",
"timestamp": "2023-02-08T13:12:54Z"
},
{
"version": "10.7.5.6",
"changelog": "Update to .NET 7\n",
"targetAbi": "10.7.0",
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.6.zip",
"checksum": "60310678f450ca7f0da3811642ae2bc4",
"timestamp": "2023-01-22T03:34:00Z"
},
{
"version": "10.7.5.4",
"changelog": "Search fixed in case of null premiere date\n",
@@ -42,7 +59,7 @@
},
{
"version": "10.7.5.0",
"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",
"changelog": "Short: Huge improvement in auto-identifying of movies. Rus: Значительно улучшено авто-привязка фильмов при добавлении в медиатеку. Пытаюсь найти идентификатор кинопоиска по паттерну kp-12345 или kp12345 в имени файла/папки. Пытаюсь найти единственное совпадение на кинопоиске по имени + году. Пытаюсь перебрать все совпадения по имени + сравнение IMDB ID.\n",
"targetAbi": "10.7.0",
"sourceUrl": "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.5.0.zip",
"checksum": "ea7eabac0fc4d1891529616a16a02897",
@@ -75,7 +92,7 @@
{
"checksum": "8d77d5f4de0bdf0abbce76cf8e5a251d",
"changelog": "Fixed rating parsing",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.2.zip",
@@ -86,7 +103,7 @@
{
"checksum": "9051c982f7846af34249ed9969012c17",
"changelog": "Fixed some actor professions parsing",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.1.zip",
@@ -97,7 +114,7 @@
{
"checksum": "ec7cfeff6a88f2427057d1bb6fb150b6",
"changelog": "Jellyfin v10.7 compat",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.7.0.0.zip",
@@ -108,7 +125,7 @@
{
"checksum": "50674e215597995b96da17b49ee7ad62",
"changelog": "fix NRE in person provider",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.6.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.2.zip",
@@ -119,7 +136,7 @@
{
"checksum": "a877cde0df7d70266fdb9362b72884c1",
"changelog": "new release",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.6.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.1.zip",
@@ -130,7 +147,7 @@
{
"checksum": "8f43d3943f5f60293c6fb0ccbe560096",
"changelog": "new release",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"name": "КиноПоиск",
"targetAbi": "10.6.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/jellyfin-plugin-kinopoisk_10.6.0.0.zip",
Regular → Executable
+33 -1
View File
@@ -1,4 +1,36 @@
#!/bin/bash
export VERSION="10.7.5.7"
docker run -it --rm -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet restore ./src
jprm repo add -u https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
docker run -it --rm -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet build --configuration Release ./src
export RELEASEDIR="$(pwd)/dist/kinopoisk/kinopoisk_$VERSION"
mkdir -p "$RELEASEDIR"
cp "$(pwd)/src/Jellyfin.Plugin.Kinopoisk/bin/Release/net6.0/Jellyfin.Plugin.Kinopoisk.dll" "$RELEASEDIR/"
cp "$(pwd)/src/KinopoiskUnofficialInfo.ApiClient/bin/Release/net6.0/KinopoiskUnofficialInfo.ApiClient.dll" "$RELEASEDIR/"
cat << EOF > "dist/kinopoisk/kinopoisk_$VERSION/meta.json"
{
"category": "Metadata",
"changelog": "new versionn",
"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.8.8.0",
"timestamp": "$(date -u "+%Y-%m-%dT%H:%M:%SZ")",
"version": "$VERSION"
}
EOF
zip -r "dist/kinopoisk/kinopoisk_$VERSION.zip" "dist/kinopoisk/kinopoisk_$VERSION"
export HASH=$(md5sum "dist/kinopoisk/kinopoisk_$VERSION.zip" | cut -d' ' -f1)
jq --arg HASH "$HASH" --arg URL "https://raw.githubusercontent.com/skrashevich/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.8.8.0", "sourceUrl": $URL, "timestamp": $TIMESTAMP}] + (.[0].versions[0:])]' "$(pwd)/dist/manifest.json" > "$(pwd)/dist/manifest.json.tmp" && mv "$(pwd)/dist/manifest.json.tmp" "$(pwd)/dist/manifest.json"
#jprm repo add -u https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
rm ./artifacts/*
git add "dist/kinopoisk/kinopoisk_$VERSION.zip" "dist/manifest.json" && \
git commit -m "version $VERSION" && \
git tag "v$VERSION" && \
git push --tags
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="coverlet.collector" Version="3.2.0" />
</ItemGroup>
<ItemGroup>
@@ -450,6 +450,5 @@ namespace Jellyfin.Plugin.Kinopoisk
res = src?.NameEn;
return res;
}
}
}
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<DebugType>portable</DebugType>
</PropertyGroup>
@@ -17,10 +17,10 @@
<PackageReference Include="Jellyfin.Model" Version="10.*">
<IncludeAssets>compile</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0">
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0">
<IncludeAssets>compile</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Text.Json" Version="6.*">
<PackageReference Include="System.Text.Json" Version="7.*">
<IncludeAssets>compile</IncludeAssets>
</PackageReference>
</ItemGroup>
+2 -2
View File
@@ -2,9 +2,9 @@
name: "КиноПоиск"
guid: "0c136f8a-ff77-4f2b-ade5-13462cae6216"
imageUrl: "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png"
version: "10.7.5.4"
version: "10.7.5.6"
targetAbi: "10.7.0"
framework: "net5.0"
framework: "net6.0"
owner: "linfor"
overview: "Информация о фильмах и сериалах с КиноПоиска"
description: >
@@ -1,22 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="VCR.net" Version="0.1.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="1.3.0">
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NSwag.MSBuild" Version="13.11.1">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="NSwag.MSBuild" Version="13.18.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@@ -26,7 +26,7 @@
</ItemGroup> -->
<Target Name="GenerateApiClientSourceCode">
<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" />
<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" />
<ItemGroup>
<Compile Include="GeneratedClient.generated.cs" />
</ItemGroup>