This commit is contained in:
PingWin committed 2021-05-21 16:07:56 +00:00
1 parent 8ca93bf060
commit b7a0f2c0ee
13 files changed
+84 -29

No files matched your search

+7 -3
View File
@@ -14,11 +14,15 @@ RUN if [ "$INSTALL_AZURE_CLI" = "true" ]; then bash /tmp/library-scripts/azcli-d
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
python3 \
pip \
&& pip install jprm \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
COPY library-scripts/jellyfin-web-install.sh /tmp/library-scripts/
RUN /tmp/library-scripts/jellyfin-web-install.sh && rm -rf /tmp/library-scripts
RUN /tmp/library-scripts/jellyfin-web-install.sh && rm -rf /tmp/library-scripts
+29 -9
View File
@@ -6,7 +6,7 @@
{
"label": "build",
"command": "dotnet",
"type": "shell",
"type": "process",
"args": [
"build",
"${workspaceFolder:workspace}/src/Kinopoisk.sln",
@@ -25,11 +25,12 @@
{
"label": "publish-to-run",
"command": "dotnet",
"type": "shell",
"type": "process",
"args": [
"publish",
"${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/Jellyfin.Plugin.Kinopoisk.csproj",
"--output", "/jellyfin-data/plugins/kinopoisk",
"--output",
"/jellyfin-data/plugins/kinopoisk",
"/property:GenerateFullPaths=true",
"/property:Version=10.7.0.2"
],
@@ -38,18 +39,37 @@
},
{
"label": "make-dist",
"command": "powershell",
"type": "shell",
"command": "jprm",
"type": "process",
"args": [
"Compress-Archive",
"-Path", "${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll,${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk.Test/bin/Debug/net5.0/Macross.Json.Extensions.dll",
"-DestinationPath", "${workspaceFolder:workspace}/dist/jellyfin-plugin-kinopoisk_10.7.0.2.zip"
"-v", "DEBUG",
"plugin", "build", "${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/"
],
"group": "build",
"options": {
"cwd": "${workspaceFolder:workspace}/"
},
"group": "none",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"label": "make-dist-publish",
"command": "bash",
"type": "process",
"args": [
"${workspaceFolder:workspace}/publish.sh"
],
"options": {
"cwd": "${workspaceFolder:workspace}/"
},
"group": "none",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile",
// "dependsOn": ["make-dist"]
}
]
}
Binary file not shown.
+25 -16
View File
@@ -2,18 +2,27 @@
{
"category": "Metadata",
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
"name": "КиноПоиск",
"overview": "",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"overview": "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"owner": "linfor",
"description": "Загружает рейтинги сайта КиноПоиск",
"description": "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438 \u0441\u0430\u0439\u0442\u0430 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a\n",
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
"versions": [
{
"version": "10.7.0.3",
"changelog": "Don't provide empty poster Added kinopoisk hyperlink in people info\n",
"targetAbi": "10.7.0",
"sourceUrl": "https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.7.0.3.zip",
"checksum": "d58cdb87e4e93b7ab1b22c14248841e2",
"timestamp": "2021-05-21T16:00:03Z"
},
{
"checksum": "8d77d5f4de0bdf0abbce76cf8e5a251d",
"changelog": "Fixed rating parsing",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/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",
"filename": "jellyfin-plugin-kinopoisk_10.7.0.2.zip",
"timestamp": "2021-04-06 18:12:00",
"version": "10.7.0.2"
@@ -21,10 +30,10 @@
{
"checksum": "9051c982f7846af34249ed9969012c17",
"changelog": "Fixed some actor professions parsing",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/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",
"filename": "jellyfin-plugin-kinopoisk_10.7.0.1.zip",
"timestamp": "2021-03-18 13:31:00",
"version": "10.7.0.1"
@@ -32,10 +41,10 @@
{
"checksum": "ec7cfeff6a88f2427057d1bb6fb150b6",
"changelog": "Jellyfin v10.7 compat",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"targetAbi": "10.7.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/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",
"filename": "jellyfin-plugin-kinopoisk_10.7.0.0.zip",
"timestamp": "2021-03-16 11:35:00",
"version": "10.7.0.0"
@@ -43,10 +52,10 @@
{
"checksum": "50674e215597995b96da17b49ee7ad62",
"changelog": "fix NRE in person provider",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"targetAbi": "10.6.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/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",
"filename": "jellyfin-plugin-kinopoisk_10.6.0.2.zip",
"timestamp": "2020-07-09 13:00:00",
"version": "10.6.0.2"
@@ -54,10 +63,10 @@
{
"checksum": "a877cde0df7d70266fdb9362b72884c1",
"changelog": "new release",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"targetAbi": "10.6.0",
"runtimes": "netframework,netcore",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/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",
"filename": "jellyfin-plugin-kinopoisk_10.6.0.1.zip",
"timestamp": "2020-07-07 19:00:00",
"version": "10.6.0.1"
@@ -65,14 +74,14 @@
{
"checksum": "8f43d3943f5f60293c6fb0ccbe560096",
"changelog": "new release",
"name": "КиноПоиск",
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"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",
"sourceUrl": "https://github.com/LinFor/jellyfin-plugin-kinopoisk/raw/master/dist/kinopoisk/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"
}
]
}
]
]
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
jprm repo add -u https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
rm ./artifacts/*
@@ -5,6 +5,6 @@ namespace Jellyfin.Plugin.Kinopoisk.Configuration
public class PluginConfiguration : BasePluginConfiguration
{
// https://kinopoiskapiunofficial.tech/
public string ApiToken { get; set; } = string.Empty;
public string ApiToken { get; set; } = "85d30ae5-d875-4c5f-900d-8e37bb20625e";
}
}
+18
View File
@@ -0,0 +1,18 @@
---
name: "КиноПоиск"
guid: "0c136f8a-ff77-4f2b-ade5-13462cae6216"
imageUrl: "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png"
version: "10.7.0.3"
targetAbi: "10.7.0"
framework: "net5.0"
owner: "linfor"
overview: "Загружает рейтинги сайта КиноПоиск"
description: >
Загружает рейтинги сайта КиноПоиск
category: "Metadata"
artifacts:
- "Jellyfin.Plugin.Kinopoisk.dll"
- "Macross.Json.Extensions.dll"
changelog: >
Don't provide empty poster
Added kinopoisk hyperlink in people info