vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
Добрый день, существует вопрос.
Создал синема, все красиво и нарядно, только проблемы есть.
Где взять акруальные API плееры, попробовал добавить фильм, получил только трейлер?
Как настроить автозаполнение (по гайдам у меня не работает, фильмы не подгружает)?
Сами гайды устарели уже, с текущей обстановкой, а достроить сайт охота... Выручите разжуйте инфы?
 

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9
Good afternoon, I have a question.
I created a cinema, everything is beautiful and elegant, but there are problems.
Where can I get accrual API players, tried to add a movie, got only a trailer?
How to set up autocomplete (it doesn’t work for me according to the guides, it doesn’t load movies)?
The guides themselves are already outdated, with the current situation, and hunting to finish building the site ... Help out, chew on the information?
If it Russian site This might help

Код:
https://videocdn.tv/api/short?api_token=Gbpr6CeRcQKypJK0J8MxvXgxavuPMV86&kinopoisk_id=[kp_id] ~ "VideoCDN" ~ data.0.iframe_src <> _VALUE_?season=[season]&episode=[episode]



https://bazon.cc/api/search?token=d0623f3ffd0d8c3d6352bbf2695c61de&kp=[kp_id] ~ "Bazon" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]



http://apidevel.ustore.bz/?f=search_by_id&where=kinopoisk&hash=dc275cb05d2ee80b8640be4d4217aee2&id=[kp_id] ~ "uStore" ~ 0.iframe <> _VALUE_?season=[season]&episode=[episode]



https://apivb.info/api/videos.json?token=d16fe09ddd4d031b06a32a2e535147fc&id_kp=[kp_id] ~ "HDVB" ~ 0.iframe_url <> _VALUE_?season=[season]&episode=[episode]



https://api1644392427.bhcesh.me//list?token=4c250f7ac0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Collaps" ~ results.0.iframe_url <> _VALUE_?season=[season]&episode=[episode]



https://pleer.video/[kp_id].json ~ "Pleer.video" ~ embeds.0.iframe <> _VALUE_?season=[season]&episode=[episode]



https://kodikapi.com/search?token=41dd95f84c21719b09d6c71182237a25&kinopoisk_id=[kp_id] ~ "Kodik" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]



https://api.alloha.tv/?token=de19b0b4e75ce15a9be8e63c0f5858&kp=[kp_id] ~ "Alloha" ~ data.iframe <> _VALUE_?season=[season]&episode=[episode]



https://iframe.video/api/v2/search?kp=[kp_id] ~ "iframe.video" ~ results.0.path <> _VALUE_?season=[season]&episode=[episode]



# Trailers



https://api1644392427.bhcesh.me//trailers?token=4c250f7ac0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Trailer Collaps" ~ results.0.iframe_url



https://api.themoviedb.org/3/[type]/[tmdb_id]?language=ru&append_to_response=videos&api_key=269890f657dddf4635473cf4cf456576[/URL] ~ "Трейлер TMDB" ~ videos.results.0.key <> [MEDIA=youtube]_VALUE_[/MEDIA] ~ videos.results.0.key <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg https://www.googleapis.com/youtube/v3/search?part=id,snippet&maxResults=1&key=AIzaSyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер']https://www.googleapis.com/youtube/v3/search?part=id,snippet&maxResults=1&key=AIzaSyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер ~ "Трейлер YouTube" ~ items.0.id.videoId <> [MEDIA=youtube]_VALUE_[/MEDIA] ~ items.0.id.videoId <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg

Try Those if they will work..

PRO TIP: Try to visit API by yourself to see if it work.. if it not working remove it from your list

Reference: https://forum.cinemapress.su/threads/movies-by-api.54/post-326
 

vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
If it Russian site This might help

https://videocdn.tv/api/short?api_token=Gbpr6CeRcQKypJK0J8MxvXgxavuPMV86&kinopoisk_id=[kp_id] ~ "VideoCDN" ~ data.0.iframe_src <> _VALUE_?season=[season]&episode=[episode]

https://bazon.cc/api/search?token=d0623f3ffd0d8c3d6352bbf2695c61de&kp=[kp_id] ~ "Bazon" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]

http://apidevel.ustore.bz/?f=search...h=dc275cb05d2ee80b8640be4d4217aee2&id=[kp_id] ~ "uStore" ~ 0.iframe <> _VALUE_?season=[season]&episode=[episode]

https://apivb.info/api/videos.json?token=d16fe09ddd4d031b06a32a2e535147fc&id_kp=[kp_id] ~ "HDVB" ~ 0.iframe_url <> _VALUE_?season=[season]&episode=[episode]

https://api1644392427.bhcesh.me//list?token=4c250f7ac0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Collaps" ~ results.0.iframe_url <> _VALUE_?season=[season]&episode=[episode]

https://pleer.video/[kp_id].json ~ "Pleer.video" ~ embeds.0.iframe <> _VALUE_?season=[season]&episode=[episode]

https://kodikapi.com/search?token=41dd95f84c21719b09d6c71182237a25&kinopoisk_id=[kp_id] ~ "Kodik" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]

https://api.alloha.tv/?token=de19b0b4e75ce15a9be8e63c0f5858&kp=[kp_id] ~ "Alloha" ~ data.iframe <> _VALUE_?season=[season]&episode=[episode]

https://iframe.video/api/v2/search?kp=[kp_id] ~ "iframe.video" ~ results.0.path <> _VALUE_?season=[season]&episode=[episode]

# Trailers

https://api1644392427.bhcesh.me//tr...c0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Trailer Collaps" ~ results.0.iframe_url

https://api.themoviedb.org/3/[type]...deos&api_key=269890f657dddf4635473cf4cf456576[/URL] ~ "Трейлер TMDB" ~ videos.results.0.key <>
~ videos.results.0.key <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg https://www.googleapis.com/youtube/...SyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер']https://www.googleapis.com/youtube/...SyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер ~ "Трейлер YouTube" ~ items.0.id.videoId <>
~ items.0.id.videoId <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg Try Those if they will work.. PRO TIP: Try to visit API by yourself to see if it work.. if it not working remove it from your list Reference: https://forum.cinemapress.su/threads/Фильмы-по-api.54/post-326
Thx, ill try it
 

vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
If it Russian site This might help

Код:
https://videocdn.tv/api/short?api_token=Gbpr6CeRcQKypJK0J8MxvXgxavuPMV86&kinopoisk_id=[kp_id] ~ "VideoCDN" ~ data.0.iframe_src <> _VALUE_?season=[season]&episode=[episode]



https://bazon.cc/api/search?token=d0623f3ffd0d8c3d6352bbf2695c61de&kp=[kp_id] ~ "Bazon" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]



http://apidevel.ustore.bz/?f=search_by_id&where=kinopoisk&hash=dc275cb05d2ee80b8640be4d4217aee2&id=[kp_id] ~ "uStore" ~ 0.iframe <> _VALUE_?season=[season]&episode=[episode]



https://apivb.info/api/videos.json?token=d16fe09ddd4d031b06a32a2e535147fc&id_kp=[kp_id] ~ "HDVB" ~ 0.iframe_url <> _VALUE_?season=[season]&episode=[episode]



https://api1644392427.bhcesh.me//list?token=4c250f7ac0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Collaps" ~ results.0.iframe_url <> _VALUE_?season=[season]&episode=[episode]



https://pleer.video/[kp_id].json ~ "Pleer.video" ~ embeds.0.iframe <> _VALUE_?season=[season]&episode=[episode]



https://kodikapi.com/search?token=41dd95f84c21719b09d6c71182237a25&kinopoisk_id=[kp_id] ~ "Kodik" ~ results.0.link <> _VALUE_?season=[season]&episode=[episode]



https://api.alloha.tv/?token=de19b0b4e75ce15a9be8e63c0f5858&kp=[kp_id] ~ "Alloha" ~ data.iframe <> _VALUE_?season=[season]&episode=[episode]



https://iframe.video/api/v2/search?kp=[kp_id] ~ "iframe.video" ~ results.0.path <> _VALUE_?season=[season]&episode=[episode]



# Trailers



https://api1644392427.bhcesh.me//trailers?token=4c250f7ac0a8c8a658c789186b9a58a5&kinopoisk_id=[kp_id] ~ "Trailer Collaps" ~ results.0.iframe_url



https://api.themoviedb.org/3/[type]/[tmdb_id]?language=ru&append_to_response=videos&api_key=269890f657dddf4635473cf4cf456576[/URL] ~ "Трейлер TMDB" ~ videos.results.0.key <> [MEDIA=youtube]_VALUE_[/MEDIA] ~ videos.results.0.key <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg https://www.googleapis.com/youtube/v3/search?part=id,snippet&maxResults=1&key=AIzaSyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер']https://www.googleapis.com/youtube/v3/search?part=id,snippet&maxResults=1&key=AIzaSyDNOEaCCbY-wp4Eiqghe5ciwfV9zkKy79w&q=[title] [year] трейлер ~ "Трейлер YouTube" ~ items.0.id.videoId <> [MEDIA=youtube]_VALUE_[/MEDIA] ~ items.0.id.videoId <> https://img.youtube.com/vi/_VALUE_/sddefault.jpg

Try Those if they will work..

PRO TIP: Try to visit API by yourself to see if it work.. if it not working remove it from your list

Reference: https://forum.cinemapress.su/threads/movies-by-api.54/post-326
Не срабатывает, или я чего-то не понимаю. Прописал в API плееры ваш список, но просмотр так и не получаю, только трейлер.

1678215308511.png

1678215346825.png

Так же вопрос, ну ли перед API данные строки?
1678215969557.png
 
Последнее редактирование:

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9
The Reason is you put Trailer API At the Top and in the section "Show only the first successful result" you put yes.. change it to "No"

If you put "yes" The Player will only fetch the first successful result. If it Trailer it will only show Trailer.. and it won't show mult Server.

1678238667506.png

Another thing I see in your list is you give Trailers Priority, Arrange your List. The first one is the one with high Priority. Put TMDB Trailers and YouTube Trailers Below your list.

About the second question I don't know wait for @admin to come
 

vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
The Reason is you put Trailer API At the Top and in the section "Show only the first successful result" you put yes.. change it to "No"

If you put "yes" The Player will only fetch the first successful result. If it Trailer it will only show Trailer.. and it won't show mult Server.

Посмотреть вложение 236

Another thing I see in your list is you give Trailers Priority, Arrange your List. The first one is the one with high Priority. Put TMDB Trailers and YouTube Trailers Below your list.

About the second question I don't know wait for @admin to come
Не знал что порядок имеет значение, постараюсь сделать как надо. Вчера методом проб выяснил, что необходимо иметь свой API токен на каждый источник (регистрация).
 

admin

Администратор
Команда форума
Регистрация
30.09.2022
Сообщения
462
Реакции
84
Не знал что порядок имеет значение, постараюсь сделать как надо. Вчера методом проб выяснил, что необходимо иметь свой API токен на каждый источник (регистрация).
Для получения фильмов можно использовать любой. А в модуле плеер желательно указывать свой, чтобы именно вам начислялась оплата за просмотры.
 

vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
Спасибо всем за советы, я разобрался, получил плееры. Понял в чем проблема, что в нынешних реалиях часть API не доступны... В ближайшее время перепрячу сервер за Wireguard и будет доступно большее количество апи источников.
Единственный вопрос по которому остались вопросы, как наполнять сайт автоматически? Я попытался что-то сделать по гайду на "Аниме и дорамы" но не получил результата никакого...
Если какие то советы по этому поводу куда написать и что?
 

admin

Администратор
Команда форума
Регистрация
30.09.2022
Сообщения
462
Реакции
84
Спасибо всем за советы, я разобрался, получил плееры. Понял в чем проблема, что в нынешних реалиях часть API не доступны... В ближайшее время перепрячу сервер за Wireguard и будет доступно большее количество апи источников.
Единственный вопрос по которому остались вопросы, как наполнять сайт автоматически? Я попытался что-то сделать по гайду на "Аниме и дорамы" но не получил результата никакого...
Если какие то советы по этому поводу куда написать и что?
Вот например вариант для аниме

24 ~ http://kodikapi.com/list?limit=100&with_material_data=true&token=41dd95f84c21719b09d6c71182237a25 ~ results ~ ~ kinopoisk_id <> kp_id ~ material_data.title <> title_ru ~ material_data.title_en <> title_en ~ material_data.year <> year ~ material_data.description <> description ~ material_data.poster_url <> poster ~ material_data.screenshots <> pictures ~ material_data.countries <> country ~ material_data.genres <> genre ~ material_data.premiere_world <> premiere ~ material_data.actors <> actor ~ material_data.directors <> director ~ type <> type

Каждых 24 часа переобход, можете поменять под себя
 

vslave

Пользователь
Регистрация
07.03.2023
Сообщения
18
Реакции
2
Скиньте ваш код, разберёмся почему не получается
Код:
# Заполнение всей информции с kodik, и основным делать ID КиноПоиска.

0 ~ http://kodikapi.com/list?limit=100&with_material_data=true&token=45c53578f11ecfb74e31267b634cc6a8&page=[page][next_page] ~ results ~ ~ kinopoisk_id <> kp_id ~ material_data.title <> title_ru ~ material_data.title_en <> title_en ~ material_data.year <> year ~ material_data.description <> description ~ material_data.poster_url <> poster ~ material_data.screenshots <> pictures ~ material_data.countries <> country ~ material_data.genres <> genre ~ material_data.premiere_world <> premiere ~ material_data.actors <> actor ~ material_data.directors <> director ~ type <> type

# Заполнение ID IMDb для фильмов, у которых уже есть ID КиноПоиска.

0 ~ http://kodikapi.com/list?limit=100&with_material_data=true&token=45c53578f11ecfb74e31267b634cc6a8&page=[page][next_page] ~ results ~ ~ kinopoisk_id <> kp_id ~ imdb_id <> custom.imdb_id

# Заполнение ID Shikimori для фильмов, у которых уже есть ID КиноПоиска.

0 ~ http://kodikapi.com/list?limit=100&with_material_data=true&token=45c53578f11ecfb74e31267b634cc6a8&page=[page][next_page] ~ results ~ ~ kinopoisk_id <> kp_id ~ shikimori_id <> custom.movie_id

# Заполнение ID TMDb + постер + красивое фото для фильмов, у которых уже есть ID IMDb

0 ~ db ~ custom.imdb_id ~ https://api.themoviedb.org/3/find/tt[imdb_id]?api_key=269890f657dddf4635473cf4cf456576&external_source=imdb_id ~ movie_results.0.id <> custom.tmdb_id <> 1 ~ movie_results.0.poster_path <> poster <> 1 ~ movie_results.0.backdrop_path <> pictures <> 1

# Заполнение ID TMDb + постер + красивое фото для сериалов, у которых уже есть ID IMDb

0 ~ db ~ custom.imdb_id ~ https://api.themoviedb.org/3/find/tt[imdb_id]?api_key=269890f657dddf4635473cf4cf456576&external_source=imdb_id ~ tv_results.0.id <> custom.tmdb_id <> 1 ~ tv_results.0.poster_path <> poster <> 1 ~ tv_results.0.backdrop_path <> pictures <> 1

# Заполнение рейтинга КиноПоиск и IMDb, напрямую с КиноПоиска.

0 ~ db ~ kp_id ~ https://rating.kinopoisk.ru/[id].xml ~ rating.kp_rating._attributes.num_vote <> kp_vote ~ rating.kp_rating._text <> kp_rating ~ rating.imdb_rating._attributes.num_vote <> imdb_vote ~ rating.imdb_rating._text <> imdb_rating

1678450587508.png
1678450830320.png
Создал страницу, дал ей тег коллекции:
1678450807729.png

Только не понимаю как вывести ее на "Главную"
 

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9
/admin-secret/homepage

Сюда вписать путь к коллекции
Hi, Admin I have a question I have this APIs for Player Movies and for TV shows, they both use TMDB ID

For Movies: https://api.9animetv.live/movie-api.php?id=505642

For TV Shows: https://api.9animetv.live/series-api.php?id=100088

How Can I use them in CinemaPress to make it show Player?

I have tried this: in admin-secret/player

Код:
https://api.9animetv.live/movie-api.php?id=[tmdb_id] ~ "PLAYER MOVIES" ~ result.0.iframe

https://api.9animetv.live/series-api.php?id=[tmdb_id] ~ "PLAYER TV" ~ results.0.iframe <> _VALUE_?season=[season]&episode=[episode]

But it not working as expected Player for Movies it show up in Tv Shows too.. And Player for Tv Shows it not showing Seasons and Episodes Selectors.. Did I configure it in wrong way?
 

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9
Hi, Admin I have a question I have this APIs for Player Movies and for TV shows, they both use TMDB ID

For Movies: https://api.9animetv.live/movie-api.php?id=505642

For TV Shows: https://api.9animetv.live/series-api.php?id=100088

How Can I use them in CinemaPress to make it show Player?

I have tried this: in admin-secret/player

Код:
https://api.9animetv.live/movie-api.php?id=[tmdb_id] ~ "PLAYER MOVIES" ~ result.0.iframe

https://api.9animetv.live/series-api.php?id=[tmdb_id] ~ "PLAYER TV" ~ results.0.iframe <> _VALUE_?season=[season]&episode=[episode]

But it not working as expected Player for Movies it show up in Tv Shows too.. And Player for Tv Shows it not showing Seasons and Episodes Selectors.. Did I configure it in wrong way?
UPDATE

I have tried this, I make A PHP file by following guide of

CinemaPlayer: https://github.com/CinemaPress/CinemaPlayer

And guide of Simple API example: https://raw.githubusercontent.com/CinemaPress/CinemaPlayer/master/example/simple-api-array.json

My API: https://api.9animetv.live/series-api.php?id=100088

Codes in My Series-Player file

1678613553496.png

But it not working the search icon load with no end

1678613666129.png

https://temp.9animetv.live/player/series-player.php?id=100088

@admin Can you please guide me or correct me how Can I make My API work on CinemaPlayer? Thanks.
 

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9

anime

Пользователь
Регистрация
12.03.2023
Сообщения
13
Реакции
12
I think the problem is with cors
 

CoolestKid

Продвинутый пользователь
Регистрация
01.03.2023
Сообщения
99
Реакции
9
I think the problem is with cors
Thanks so much you start to give me light in this.. I added this in my PHP "header('Access-Control-Allow-Origin: *');" and it did the trick..

1678643707054.png
 
Верх