Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

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:

coolrico

Extended Member
Ext. Member
Joined
Dec 17, 2019
Messages
48
Reaction score
98
Points
29
Location
uk
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

Tunes0710

Extended Member
Ext. Member
Joined
Apr 29, 2020
Messages
8
Reaction score
8
Points
14
Location
UK
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.
 

Tunes0710

Extended Member
Ext. Member
Joined
Apr 29, 2020
Messages
8
Reaction score
8
Points
14
Location
UK
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock