• Welcome to IPTV Community! You need login/register in-order to access forum without restriction.

XtreamCodes API Catchup

MaxiTV

New Member
Aug 23, 2023
14
4
3
I am developing an application for IPTV and I want to implement catchup. Obviously, catchup for XC will not work the same as for Flussnonic.


http://xxx.xxx:port/player_api.php?username=xxxx&password=xxx&action=get_live_streams


This gives me a list of all shows for that channel with start and end.
But when I create a link of type:
http://xxx.xxx:port/player_api.php?username=xxxx&password=xxx&action=streaming_catchup&stream_id=318&start=1732529700&duration=900

&start=1732529700&duration=900
match the start and duration of one show marked with is_archive :1


I get only basic info in JSON type data about the user, allowed output formats, etc. How do I play a program from the past?

Thanks
 

apidotmy

New Member
Nov 26, 2024
5
0
1
do not send as picture bro, send as json text here, how can i help? i need to write back the json? lol
 

MaxiTV

New Member
Aug 23, 2023
14
4
3
Sorry, I thought the problem was with the URL I was calling.

{"user_info":{"username":"","password":"","message":"Welcome to RedDistrict","auth":1,"status":"Active","exp_date":"1732706176","is_trial":"1","active_cons":"2","created_at":"1732533376","max_connections":"1","allowed_output_formats":["m3u8","ts","rtmp"]},"server_info":{"url":"smartntv.pro","port":"25461","https_port":"9443","server_protocol":"http","rtmp_port":"25462","timezone":"Europe\/Zagreb","timestamp_now":1732608121,"time_now":"2024-11-26 09:02:01"}}


should I also send EPG JSON?


Thanks