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.
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: