GithubHelp home page GithubHelp logo

Comments (7)

PlessioTihsrah avatar PlessioTihsrah commented on September 18, 2024 3

@rabilrbl For the current m3u8 playlist, if you add some keys catchup-days, catchup, catchup-source, then IPTV player automatically sends the params for stream (tried only with tivimate for now). For example

#EXTINF:-1 tvg-id=143 tvg-name="CNBC Tv18 Prime HD" tvg-logo="http://localhost:5001/jtvimage/CNBC_Tv18_Prime_HD.png" tvg-language="English" tvg-type="Business" group-title="Business" catchup-days="1" catchup="auto" catchup-source="http://localhost:5001/catchup/143?start=${start}&end=${end}", CNBC Tv18 Prime HD

For the above EXT, tivimate sends the request as GET /catchup/143 Params:[start=1717846200&end=1717848000]
If have a route for /catchup/:channel_id which does the following then catchup should be possible

  • Evaluate how many days we need to goto past by start param (need to convert it to IST)
  • Send request to jio servers for EPG for the channel for the given date
  • Parse the response and find the show where start and end coincide
  • Request the m3u8 file from https://jiotvapi.media.jio.com/playback/apis/v1/geturl?langId=6 as in above comment and send it to client

It requires a considerable amount of time to implement this.
Anyway will checkout more on this in the weekend if there is a better way

from jiotv_go.

PlessioTihsrah avatar PlessioTihsrah commented on September 18, 2024 1

Sending the following form data to https://jiotvapi.media.jio.com/playback/apis/v1/geturl?langId=6 will give stream information of catchup. It needs most of the data from EPG

channel_id: channelID
stream_type: "Catchup"
begin: epg_data.startEpoch
end: epg_data.endEpoch
srno, epg_data.srno
programId, epg_data.showId
showtime: epg_data.showtime

Rest streaming can use the same logic written in

func (tv *Television) Live(channelID string) (*LiveURLOutput, error) {

I don't know golang hence cannot implement this big change 😓

from jiotv_go.

Darknight92228 avatar Darknight92228 commented on September 18, 2024

Does it support fire os?

from jiotv_go.

rabilrbl avatar rabilrbl commented on September 18, 2024

Does it support fire os?

Ask ur doubts at JioTV Go community on Telegram.

https://telegram.me/jiotv_go_chat

from jiotv_go.

rabilrbl avatar rabilrbl commented on September 18, 2024

@PlessioTihsrah Man this is great! Never thought about it. Will test this and implement ASAP

from jiotv_go.

rabilrbl avatar rabilrbl commented on September 18, 2024

@PlessioTihsrah I though this will give us whole days catchup with just a single m3u8 file.
Is it possible?
Otherwise I have to build new components for which I don't have time

from jiotv_go.

GTTech2305 avatar GTTech2305 commented on September 18, 2024

Not catchup is not working in mobile Jiotv itself for zee channels and many more

from jiotv_go.

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.