Skip to content

Commit

Permalink
v10.9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skrashevich committed May 15, 2024
1 parent 5112a0a commit 61603f8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Fetches metadata from https://www.kinopoisk.ru/. This site is popular in the Rus

## Установка

Администрирование - Панель - Расширенное - Плагины - вкладка Репозитории - добавить адрес https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/manifest.json.
Администрирование - Панель - Расширенное - Плагины - вкладка Репозитории - добавить адрес https://raw.githubusercontent.com/LinFor/jellyfin-plugin-kinopoisk/master/dist/manifest.json.

После этого на вкладке Каталог найти "КиноПоиск" (раздел Метаданные) и установить.

Expand Down
Binary file added dist/kinopoisk/kinopoisk_10.9.0.0.zip
Binary file not shown.
11 changes: 10 additions & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@
"guid": "0c136f8a-ff77-4f2b-ade5-13462cae6216",
"name": "КиноПоиск",
"overview": "Информация о фильмах и сериалах с КиноПоиска",
"owner": "skrashevich",
"owner": "LinFor & 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.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",
Expand Down
4 changes: 2 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ 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/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_$VERSION.zip" \
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/skrashevich/jellyfin-plugin-kinopoisk/master/dist/ ./dist ./artifacts/*.zip
#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" && \
Expand Down

0 comments on commit 61603f8

Please sign in to comment.