Coder Social home page Coder Social logo

Catchup not working about jiotvserver HOT 2 OPEN

dhruv-2015 avatar dhruv-2015 commented on July 18, 2024 1
Catchup not working

from jiotvserver.

Comments (2)

rrjanbiah avatar rrjanbiah commented on July 18, 2024

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}

  • showtime - As per tobalan, it is ":" replaced with "" from epg
  • srno- date in yyyymmdd from startEpoch
  • programId - srno from epg

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

from jiotvserver.

rrjanbiah avatar rrjanbiah commented on July 18, 2024

I fixed the above by dynamically pulling necessary params rrjanbiah@de16286 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.

from jiotvserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.