Replies: 11 comments 11 replies
-
Thanks for the doc. It seems doable, but requires some time for development and a server for testing. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help. |
Beta Was this translation helpful? Give feedback.
-
I can't add my device with api. Help me. |
Beta Was this translation helpful? Give feedback.
-
Hi @AndreyPavlenko, |
Beta Was this translation helpful? Give feedback.
-
I am interested, is there anyway we can create a library for this? Doesn't seem too hard |
Beta Was this translation helpful? Give feedback.
-
Sorry, but currently I don't have time for that. |
Beta Was this translation helpful? Give feedback.
-
@AndreyPavlenko Are you available to provide information about Xstream Api? |
Beta Was this translation helpful? Give feedback.
-
There is a typo here: It's not "date", it's "data" 🤦♂️ |
Beta Was this translation helpful? Give feedback.
-
View the api i made https://github.com/masterchief-417/xtreme_codes_api_server |
Beta Was this translation helpful? Give feedback.
-
I downloaded my m3u from panel, but the category and icon not include in it, i am already added and checked multiple times, but nothing change, how to solve this sir? Thanks |
Beta Was this translation helpful? Give feedback.
-
any idea how to get an account's info ? the official app from my provided display's the expiry date and n° of connected devices edit: for anyone looking here's how |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
It would be very useful for me to have the Xtream code api implemented into this wonderful app I'm using everyday. I know a lot of users who will be very happy to have it as well and I already saw the request in other threads (like #202 (comment))
On my side I don't have the required skills to add it myself and so it would be great if a dev could work with me on this new feature. It is not so easy to find documentation and so on on the web, but I'm able to explain how it works and provide all required informations.
Is there any developper interested ?
============================================
Please find below the idea of Xtream code :
User has to provide these informations : username, password and base_url. He needs as well to define a name for this xtream connection
With these informations, we can get a full list of Lives, Serie and Movie streams. It can provide as well EPG and Replay, depending on the code provider.
============================================
2 possible ways to work with it
We can download directly an m3u file with all streams in it. It downloads all streams ordered by type (Live, Serie or Movie) and subcategories.
Or we can manage the browsing ourself by creating Lives, Series, Movies and Replays sub-folder for each xtream connection created. Then we are able to download the list of categories and related streams to each one. In this case we don't obtain the results with a m3u but in json format.
How I'm currently working with it and Fermata
Currently I do that MANUALLY to be able to use my xtream code in the app. I don't know if it's the best way but at least it works :
The difficulty is lists can be updated everyday and so I have to repeat these steps each time I want to have updated playlist files in Fermata.
============================================
Please find below documentation
PARAMETERS :
<user>
| ex: Mike<pwd>
| ex: 1234<url>
| ex: http://xtreamcode.exGET WHOLE STREAMS M3U (get.php) :
<url>/get.php?username=<user>&password=<pwd>&type=m3u_plus&output=ts
LIVES (player_api.php) :
Get All live streams list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_live_streams
Get live categories list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_live_categories
Get streams list of a specific live category :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_live_streams&category_id=<X>
MOVIES (VOD) (player_api.php) :
Get All VOD streams list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_vod_streams
Get VOD categories list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_vod_categories
Get stream list of a specific VOD category :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_vod_streams&category_id=<X>
Get VOD stream infos :
<url>/player_api.php?username=<user>&password=c&action=get_vod_info&vod_id=<X>
SERIES (player_api.php) :
Get All serie streams list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_series
Get serie categories list :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_series_categories
Get streams list of a specific series category :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_series&category_id=<X>
Get a serie infos :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_series_info&series=<X>
EPG (xmltv.php or player_api.php) :
Get full EPG list for ALL Streams :
<url>/xmltv.php?username=<user>&password=<pwd>
Get short EPG for a dedicated live streams :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_short_epg&stream_id=36475
Get full EPG for a dedicated live stream :
<url>/player_api.php?username=<user>&password=<pwd>&action=get_simple_date_table&stream_id=<X>
Beta Was this translation helpful? Give feedback.
All reactions