jelum 17 Posted November 11, 2022 Share Posted November 11, 2022 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 1 Link to comment Share on other sites More sharing options...
Luke 37272 Posted November 11, 2022 Share Posted November 11, 2022 Hi, thanks for sharing. Link to comment Share on other sites More sharing options...
jelum 17 Posted November 13, 2022 Author Share Posted November 13, 2022 Update: Плагин умеет подхватывать ID КиноПоиска в имени файла по шаблону "<текст>kp<ID КиноПоиска><текст без цифр>" или "<текст>kp-<ID КиноПоиска><текст без цифр>" и использовать его для поиска в базе. История версий 1.1.0 - Поиск КиноПоиск Id в имени файла Тесты внешних API (не включён в dll) 1.0.0 - первый релиз EmbyKinopoiskRu.dll Link to comment Share on other sites More sharing options...
jelum 17 Posted November 19, 2022 Author Share Posted November 19, 2022 Добавил добавление в 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 More sharing options...
jelum 17 Posted January 12, 2023 Author Share Posted January 12, 2023 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 More sharing options...
jelum 17 Posted April 4, 2023 Author Share Posted April 4, 2023 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 2 Link to comment Share on other sites More sharing options...
jelum 17 Posted May 1, 2023 Author Share Posted May 1, 2023 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 2 Link to comment Share on other sites More sharing options...
fFwPsuAy2YEB49 0 Posted August 12, 2023 Share Posted August 12, 2023 Привет! а новых версий нет ? Link to comment Share on other sites More sharing options...
sereneden 0 Posted October 6, 2023 Share Posted October 6, 2023 Неизбежно получаю ошибку: 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 More sharing options...
Luke 37272 Posted October 7, 2023 Share Posted October 7, 2023 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 More sharing options...
jelum 17 Posted October 12, 2023 Author Share Posted October 12, 2023 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 More sharing options...
jelum 17 Posted October 12, 2023 Author Share Posted October 12, 2023 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 More sharing options...
jelum 17 Posted October 12, 2023 Author Share Posted October 12, 2023 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 More sharing options...
jekis_ 0 Posted October 17, 2023 Share Posted October 17, 2023 При автоматическом обновлении сервером плагина до версии 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 More sharing options...
jelum 17 Posted October 24, 2023 Author Share Posted October 24, 2023 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 More sharing options...
vtulin 0 Posted February 11 Share Posted February 11 А предполагается самим билдить dll? Я что-то не нашёл dll в репозитории. Если не сложно 1.20 dll можете выложить, прикрепить? Спасибо. Link to comment Share on other sites More sharing options...
Luke 37272 Posted February 11 Share Posted February 11 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. 1 Link to comment Share on other sites More sharing options...
jelum 17 Posted March 18 Author Share Posted March 18 On 2/11/2024 at 9:45 AM, vtulin said: А предполагается самим билдить dll? Я что-то не нашёл dll в репозитории. Если не сложно 1.20 dll можете выложить, прикрепить? Спасибо. прошу прощение за долгий ответ. 1. на гитхабе есть отдельная колонка с релизами 2. в плагине есть специальная задача, которая обновляет его. необходимо только её не отключать Link to comment Share on other sites More sharing options...
azharkov 0 Posted April 24 Share Posted April 24 Новая версия https://github.com/luzmane/emby.kinopoisk.ru/issues/11 Советую еще участвовать в обслуживании EmbyKinopoiskRu.dll Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now