Jump to content

Kinopoisk.ru (Кинопоиск) Provider Plugin - Testers Wanted


jelum

Recommended Posts

I created a plugin that fetches metadata from https://www.kinopoisk.ru/. This site is popular in the Russian-speaking community and contains almost no English-language information, so further description will be in Russian.

Плагин для загрузки метаданных фильмов, сериалов с сайта https://www.kinopoisk.ru.

Плагин умеет работать с двумя сайтами (https://kinopoiskapiunofficial.tech, https://kinopoisk.dev) в настройках можно выбрать откуда получать информацию. По умолчанию запросы идут на https://kinopoiskapiunofficial.tech, работая с общим API токеном. Ограничение для него порядка 20 запросов/сек - для общего Token быстро заканчивается. Поэтому лучше зарегестрировать свой собственный (и указать в параметрах). Для https://kinopoisk.dev общего токена нет, так что перед использованием надо зарегестрироваться.

Параметры плагина искать в: Администрирование - Панель - Расширенное - Плагины - вкладка "Мои плагины" - KinopoiskRu.

На данный момент поддерживается загрузка информации о:

  • Фильмах
  • Сериалах
  • Актёрах

Загружаемая информация:

  • Жанры
  • Название
  • Оригинальное название (на английском)
  • Рейтинги (оценки фильма и рейтинг MPAA)
  • Слоган
  • Дата выхода фильма
  • Описание
  • Постеры и задники
  • Актёры
  • Названия эпизодов
  • Дата выхода эпизодов
  • Студии (только через https://kinopoisk.dev, https://kinopoiskapiunofficial.tech такой информации не возвращает)
  • Трейлеры
  • Года жизни актёра
  • Место рождения/смерти
  • Факты об актёре (в поле описания)

Disclaimer

Плагин поставляется "as is". Общая работа стабильна, но нет софта без багов :) Ежели такие таки будут найдены, можно писать мне сюда в личку, или, что лучше, открывать issue на https://github.com/luzmane/emby.kinopoisk.ru/issues. К проблеме надо приложить логи, ибо без них сложно будет понять что пошло не так.

 

Заранее спасибо за отзывы

 

История версий

  • 1.0.0 - первый релиз

 

EmbyKinopoiskRu.dll

  • Like 1
Link to comment
Share on other sites

Update:
Плагин умеет подхватывать ID КиноПоиска в имени файла по шаблону "<текст>kp<ID КиноПоиска><текст без цифр>" или "<текст>kp-<ID КиноПоиска><текст без цифр>" и использовать его для поиска в базе.

 

История версий

  • 1.1.0 -
    • Поиск КиноПоиск Id в имени файла
    • Тесты внешних API (не включён в dll)
  • 1.0.0 - первый релиз

 

EmbyKinopoiskRu.dll

Link to comment
Share on other sites

Добавил добавление в Activity Log, если внешние API возвращают проблемы с кол-вом запросов или токеном.

История версий:

  • 1.2.0 -
    • сообщение в Activity Log, если внешние API возвращают проблемы с кол-вом запросов или токеном.
  • 1.1.0 -
    • Поиск КиноПоиск Id в имени файла

    • Тесты внешних API (не включён в dll)

  • 1.0.0 -
    • первый релиз

 

EmbyKinopoiskRu.dll

Link to comment
Share on other sites

  • 1 month later...

v.1.4.0

  • Change the default sort name to be taken from Russian and not the original title
  • Add trailers from youtube only - emby can play trailers only from youtube
  • У kinopoiskDev немного поменялся API. Плагин обновился, чтоб поддерживать изменения

EmbyKinopoiskRu.dll

Link to comment
Share on other sites

  • 2 months later...
jelum

v.1.11.0

 

  •     Support .NetStandard 2.0 in addition to .NetCore 6.0 (possibility to run on Android devices)
  •     Fix kinopoiskapiunofficial.tech populated only partial information for films/series
  •     Add Update Plugin task which will update the DLL of the plugin from GitHub
  •     Tune movie/series search - filter API search result with name and year
  •     Search for kinopoiskapiunofficial.tech includes a year
  •     Change default API
  •     Fix incorrect items querying
  •     Suit plugin to be used with 4.8.*-beta versions
  •     Append facts to movie/series description
  •     New created by the plugin collection will have the name of the first video in sequels
  •     Fix Create Top250 collections task: fix incorrect item detection
  •     Fix Update Kp Id by IMDB/TMDB id task: fix incorrect item detection
  •     During metadata update, if found several movies will choose the one with the highest rating
  •     Add search by English name of the person
  •     Support of the new API version of kinopoisk.dev
  •     Added option to create collections based on sequels data from kinopoisk.dev. Configured by the checkbox in the plugin setup page
  •     Add translate to the plugin config
  •     Added scheduled task to create Kinopoisk Top 250 collection
  •     Added scheduled task to update movie/series with Kinopoisk ID based on IMDB or TMDB
  •     Fix trailers, and add the latest trailer from API to be the first, suppose it will be on Russian
  •     Add trailers and teasers to movie search by name result
  •     Update dependency
  •     Add movie name detection from the file name
  •     Add default token for KinopoiskDev API

EmbyKinopoiskRu.dll

  • Thanks 2
Link to comment
Share on other sites

  • 4 weeks later...
jelum

v.1.14.1

  • Improve film filtering
  • Add localization (en, ru, ua)
  • Fix items search in the task "Add KinopoiskId based on IMDB, TMDB"
  • Fix KeyDuplication exception during Kp Id search based on IMDB, TMDB
  • Normalize the name before the search
  • Update Kinoposik.dev to use API 1.3
  • Add search by other providers before search by name and year

EmbyKinopoiskRu.dll

  • Thanks 2
Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...
sereneden

Неизбежно получаю ошибку:

2023-10-06 23:23:17.433 Error App: Error getting version number from /var/packages/EmbyServer/var/plugins/EmbyKinopoiskRu.dll

Пока пробовал версии v.1.14.1 и v.1.11.0. Похоже, что ошибка только у меня, но не получается отыскать зависимость..

Link to comment
Share on other sites

5 hours ago, sereneden said:

Неизбежно получаю ошибку:

2023-10-06 23:23:17.433 Error App: Error getting version number from /var/packages/EmbyServer/var/plugins/EmbyKinopoiskRu.dll

Пока пробовал версии v.1.14.1 и v.1.11.0. Похоже, что ошибка только у меня, но не получается отыскать зависимость..

Hi, please attach the emby server log. Thanks.

Link to comment
Share on other sites

On 8/12/2023 at 4:11 PM, fFwPsuAy2YEB49 said:

Привет! а новых версий нет ?

  Привет, есть. Последняя 1.19.

За обновлениями лучше идти на https://github.com/luzmane/emby.kinopoisk.ru

В последних версиях есть задача по автоматической проверке обновлений и, собственно, обновлений.

Link to comment
Share on other sites

On 10/6/2023 at 11:25 PM, sereneden said:

Неизбежно получаю ошибку:

2023-10-06 23:23:17.433 Error App: Error getting version number from /var/packages/EmbyServer/var/plugins/EmbyKinopoiskRu.dll

Пока пробовал версии v.1.14.1 и v.1.11.0. Похоже, что ошибка только у меня, но не получается отыскать зависимость..

 Luke прав - нужны логи.

Какая версия .net?

Link to comment
Share on other sites

v.1.19.0

  • - Unite Top 250 tasks - KinopoiskDev supplies correct data with 250 items total
  • - Fix top250 collections name was not saved and the flag was inverted
  • - Add an option to create a single Top250 movie/series collection for all libraries
  • - Remove CriticRating as not relevant for Kinopoisk
  • - KinopoiskApiUnOfficial. Remove video name normalization as breaking search
  • - KinopoiskApiUnOfficial. Add search by IMDB
  • - Improve filtering video with relevant data
  • - Fix the Movie's Facts overlapping in the Safari browser
  • - Fix person search using kinopoisk.dev
  • - Fix "Plugin update task": instead of updating the plugin installed itself

EmbyKinopoiskRu.dll

Link to comment
Share on other sites

При автоматическом обновлении сервером плагина до версии 1.19.0 получил ошибку со следующим логом:
 

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at EmbyKinopoiskRu.ScheduledTasks.UpdateKinopoiskPluginTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Link to comment
Share on other sites

On 10/17/2023 at 9:11 AM, jekis_ said:

При автоматическом обновлении сервером плагина до версии 1.19.0 получил ошибку со следующим логом:
 

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at EmbyKinopoiskRu.ScheduledTasks.UpdateKinopoiskPluginTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Заметил у себя такую же проблему. К сожалению проблема в старом коде. Из-за того, что эта задача сама должна обновлять плагин, необходимо удалить старую версию и поставить новую вручную.

Link to comment
Share on other sites

  • 3 months later...
vtulin

А предполагается самим билдить dll? Я что-то не нашёл dll в репозитории. Если не сложно 1.20 dll можете выложить, прикрепить? Спасибо.

Link to comment
Share on other sites

11 hours ago, vtulin said:

А предполагается самим билдить dll? Я что-то не нашёл dll в репозитории. Если не сложно 1.20 dll можете выложить, прикрепить? Спасибо.

OK let's give the developer some time. If he doesn't update it soon then I'll grab the code and build the dll. Thanks.

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...
jelum
On 2/11/2024 at 9:45 AM, vtulin said:

А предполагается самим билдить dll? Я что-то не нашёл dll в репозитории. Если не сложно 1.20 dll можете выложить, прикрепить? Спасибо.

прошу прощение за долгий ответ.

1. на гитхабе есть отдельная колонка с релизами
image.thumb.png.df98b6a8c2a747cf9c10730ea4203628.png

 

2. в плагине есть специальная задача, которая обновляет его. необходимо только её не отключать

image.png.9c9be05c8c431b405defcc29d8b3823d.png

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...