dhruv-2015 / JIOTVServer

JIOTV Server Script is made to Streaming LiveTV Channels from JIOTV using indian server (vps) or your phone and Play it on Apps or Browser ( Using New APIs )
https://discord.gg/suyzkCQKhC
151 stars 98 forks source link

Catchup not working #23

Open Gautam-Pra opened 11 months ago

Gautam-Pra commented 11 months ago

I tried to watch many channels catchup But none are working 😕 Live channels are working good but catch-up is not functional Please fix this I tried colors TV, history tv 18 HD Hindi catchups, etc..

rrjanbiah commented 10 months ago

I found that it is due to some missing params:

body: stream_type=Catchup&channel_id=${id}&begin=${start}&end=${end} returns 400 now and needs the below additional params:

body: stream_type=Catchup&showtime=000000&programId=231029164000&srno=20231029&channel_id=${id}&begin=${start}&end=${end}

Once I hardcoded, it seems to generate the catchup properly. But, there are some weird calls with undefined params to the server URLs and after some loop, all params become undefined. Couldn't figure out this case

rrjanbiah commented 10 months ago

I fixed the above by dynamically pulling necessary params https://github.com/rrjanbiah/JTVFire/commit/de162863869167031dddbf1da1e80c7bebc97559 It works for the first time or in a few retries, but in some loop or call, it is getting broken as the channel id is getting undefined and breaking further calls.