Files
PingWin ea2ef35664 Значительно улучшено авто-привязка фильмов при добавлении в медиатеку.
Пытаюсь найти идентификатор кинопоиска по паттерну kp-12345 или kp12345 в имени файла/папки.
  Пытаюсь найти единственное совпадение на кинопоиске по имени + году.
  Пытаюсь перебрать все совпадения по имени + сравнение IMDB ID.
2021-05-23 15:31:18 +00:00

104 lines
3.5 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "regenerate-api-proxy",
"command": "dotnet",
"type": "process",
"args": [
"msbuild", "-target:GenerateApiClientSourceCode",
"${workspaceFolder:workspace}/src/KinopoiskUnofficialInfo.ApiClient/KinopoiskUnofficialInfo.ApiClient.csproj",
// Ask dotnet build to generate full paths for file names.
"-property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"-consoleloggerparameters:NoSummary"
],
"group": "build",
"problemMatcher": "$msCompile"
},
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk.sln",
// Ask dotnet build to generate full paths for file names.
"-property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"-consoleloggerparameters:NoSummary"
],
"group": "build",
"problemMatcher": "$msCompile",
},
{
"label": "publish-to-run",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/Jellyfin.Plugin.Kinopoisk.csproj",
"--output",
"/jellyfin-data/plugins/kinopoisk",
"-property:GenerateFullPaths=true",
"-property:Version=10.9.0.0"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile",
"dependsOn": ["clear-plugin-state-before-debug"]
},
{
"label": "clear-plugin-state-before-debug",
"command": "rm",
"type": "process",
"args": [
"-f", "/jellyfin-data/plugins/kinopoisk/meta.json"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"label": "make-dist",
"command": "jprm",
"type": "process",
"args": [
"-v", "DEBUG",
"plugin", "build", "${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/"
],
"options": {
"cwd": "${workspaceFolder:workspace}/"
},
"group": "none",
"presentation": {
"reveal": "always"
},
"problemMatcher": "$msCompile"
},
{
"label": "make-dist-publish",
"command": "bash",
"type": "process",
"args": [
"${workspaceFolder:workspace}/publish.sh"
],
"options": {
"cwd": "${workspaceFolder:workspace}/"
},
"group": "none",
"presentation": {
"reveal": "always"
},
"problemMatcher": "$msCompile",
"dependsOn": ["make-dist"]
}
]
}