Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

API documentation

coolrico

Extended Member
Ext. Member
Joined
Dec 17, 2019
Messages
48
Reaction score
98
Points
29
Location
uk
Hi Guys,

New here, i'm trying to write a python script to create .strm files from the vod/series listings as i want to load these into emby or kodi along with my own local media and eventually maybe even write a Kodi addon to do this but at the moment it's just for my own personal use.

I figured the easiest way to do this was to use the XC API, I tried to simply parse the m3u but there is no way to differentiate the vod/series and i need the files to be ouput to different locations based on whether it is a movie or series plus i thought it would be a good way to learn about the API.

The python i am fine with but i am struggling to find any documentation for the API

I can get panel_api to give me all live channel listings (not needed) as well as movies and then use python to construct the link for each movie from the json data returned and that is working fine.

My issue is i can't seem to find the episode listings... i have also tried player_api to give me the series listings by using the get_series action but i cant seem to get the API to output the individual episode listings.

Any help is appreciated :)

Edit.. Found the API documentation i needed

Content here After reading through the rules i have decided to remove the link and replace with the content.
 
Last edited:
Cheers for the reply,

Whats already been done and made the Kodi addon? Do you have any links, i've been looking to do this for ages and couldn't find anything hence thought id have a bash at it myself.

Any info on the API's as i have a few other ideas that i'd like to play around with?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I realise this is an older thread, but looking at m3u_plus, it does look like there are some differences for determining live as opposed to VOD.
At least with the service I use
Live TV is in the format of
http://<host>:<port>/<user>/<pass>/<streamnumber>
Whereas for VOD it is
http://<host>:<port>/movie/<user>/<pass>/<filmcode>.<ext>
and
http://<host>:<port>/series/<user>/<pass>/<seriescode>.<ext>

So you should be able to split Live/VOD that way?
But also, as mentioned, there is an XC plugin for Kodi already available, although it would be good for an update, which would put this in it's own menu rather than as a subsection for video.
 
That’s not related to API. That’s m3u.

Ah yes, sorry.. my comment was relating to the original post where he says
I tried to simply parse the m3u but there is no way to differentiate the vod/series and i need the files to be ouput to different locations based on whether it is a movie or series plus i thought it would be a good way to learn about the API.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top