Kodi Community Forum

Full Version: IPTV Simple now supports Catchup and Timeshifted Catchup in Kodi Matrix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
hi sorry im late to the party.. great job thank you .. been trying all weekend to get catchup working, when i fil out the query the catch up urls load like this http://host:port/live/user/pass/108929.m388{duration:60}/{Y}-{m}-{d}/{H}-{M} ..

what i need is this know of structure ("%s/timeshift/%s/%s/%s/%s/%s.m3u8")%(dns,username,password,FinalDuration,str(Finalstart),description)

any help in achieving this would be great ..

thanks in advance.
(2022-01-09, 17:44)Gtmnyc Wrote: [ -> ]hi sorry im late to the party.. great job thank you .. been trying all weekend to get catchup working, when i fil out the query the catch up urls load like this http://host:port/live/user/pass/108929.m388{duration:60}/{Y}-{m}-{d}/{H}-{M} ..

what i need is this know of structure ("%s/timeshift/%s/%s/%s/%s/%s.m3u8")%(dns,username,password,FinalDuration,str(Finalstart),description)

any help in achieving this would be great ..

thanks in advance.

The addon will only substitute the time related fields in the custom query you provide. Can you give a real URL (obfuscate anything private) and a description of what each field is?
(2022-01-09, 16:51)konel Wrote: [ -> ]
(2021-11-13, 12:17)phunkyfish Wrote: [ -> ]The issue is caused by your provider as they only allow playing stream with a defined start and end time. It should splice in the live feed at 8:10, and then play till 8:20, then splice in the next 10 minutes and so on. It’s not a perfect splice but it doesn’t effect viewing too much.
The splicing isn't working for me with @matthuisman's Sky Sport Now addon. It just plays whatever amount of the current programme is available when first played, Log.

You are not using ffmpegdirect as your inputstream as far as I can tell. Is it inputstream.adaptive that you use?
would you just like me to send you a working url?


http://myhost.net:8080/timeshift/user/pa...11746.m3u8

thank you for your help
(2022-01-09, 19:35)Gtmnyc Wrote: [ -> ]would you just like me to send you a working url?


http://myhost.net:8080/timeshift/user/pa...11746.m3u8

thank you for your help

this is what the url need to look like to access catch up
http://myhost.net:8080/live/user/pass/11746.m3u8
this is what my actual url is
If I under stand correctly your live URL is:

txt:
<url-start>:8080/live/user/pass/11746.m3u8

And the catchup URL you need to generate from the live URL is in this format:

txt:
<url-start>:8080/timeshift/user/pass/5.0/2022-01-09:17-05/111746.m3u8

Is this correct? Does the 111746 number change with each channel?

So a working query string for just this channel would be:

txt:
<url-start>:8080/timeshift/user/pass/5.0/{Y}-{m}-{d}:{H}-{M}-{S}/111746.m3u8

Is this still correct?
(2022-01-09, 18:56)phunkyfish Wrote: [ -> ]You are not using ffmpegdirect as your inputstream as far as I can tell. Is it inputstream.adaptive that you use?
The addon does use inputstream.adaptive for VOD.
yes that would be correct .. the number at the end is the channel number and is different for each one.. the url with "timeshift" you posted would be correct..
But when I put the sample url in the query catch up doesn't load up.. No green dots and no start program option..

Thanks again
ok i didnt have all channels turned on (although this breaks time shift)
now when the url is appended this is what happens http://host:8080/user/pass/111748http://...11746.m3u8 and obvously wont play.. it fills out all the necessary fields but just attaches the everything in the query line to the end of the channel url..
(2022-01-10, 00:09)konel Wrote: [ -> ]
(2022-01-09, 18:56)phunkyfish Wrote: [ -> ]You are not using ffmpegdirect as your inputstream as far as I can tell. Is it inputstream.adaptive that you use?
The addon does use inputstream.adaptive for VOD.

The splicing and live catchup only works with ffmpegdirect. It’s possible live catchup support gets added to adaptive, but not before it undergoes a rather large refactor in kodi 20.

What time of stream do you have? If it’s HLS you could also try ffmpegdirect.
txt:
(2022-01-10, 13:14)Gtmnyc Wrote: [ -> ]ok i didnt have all channels turned on (although this breaks time shift)
now when the url is appended this is what happens http://host:8080/user/pass/111748http://...11746.m3u8 and obvously wont play.. it fills out all the necessary fields but just attaches the everything in the query line to the end of the channel url..

As you have a custom provider you need to add a catchup URL to each channel in the M3U file.

You can’t use append as that is not supported by your provider.

#EXTINF:0 catchup="default" catchup-source="http://path-to-stream:8080/timeshift/user/pass/5.0/{Y}-{m}-{d}:{H}-{M}-{S}/111746.m3u8” catchup-days="3",Channel B
http://path-to-stream: 8080/live/user/pass/11746.m3u8
(2022-01-10, 13:14)Gtmnyc Wrote: [ -> ]ok i didnt have all channels turned on (although this breaks time shift)
now when the url is appended this is what happens http://host:8080/user/pass/111748http://...11746.m3u8 and obvously wont play.. it fills out all the necessary fields but just attaches the everything in the query line to the end of the channel url..

As you have a custom provider you need to add a catchup URL to each channel in the M3U file.

You can’t use append as that is not supported by your provider URL. Maybe in the future we could add support for extracting the channel ID from the live URL to make all this automatic but we don’t have that support today.

Here is an example entry for channel M3U:

txt:

#EXTINF:0 catchup="default" catchup-source="http://path-to-stream:8080/timeshift/user/pass/5.0/{Y}-{m}-{d}:{H}-{M}-{S}/111746.m3u8” catchup-days="3",Channel Name
http://path-to-stream:8080/live/user/pass/11746.m3u8
thank you very much... got it all sorted now.. i didnt know the catchup structure in the m3u..

i wrote a script to add the catch up tag and pull which ever groups you want from your provider and write an m3u..

can i upload it if anyone wants it?
(2022-01-10, 22:31)Gtmnyc Wrote: [ -> ]thank you very much... got it all sorted now.. i didnt know the catchup structure in the m3u..

i wrote a script to add the catch up tag and pull which ever groups you want from your provider and write an m3u..

can i upload it if anyone wants it?

Nice, well done!!! Can you add to a GitHub gist or something and post a link here?
(2022-01-10, 22:56)phunkyfish Wrote: [ -> ]
(2022-01-10, 22:31)Gtmnyc Wrote: [ -> ]thank you very much... got it all sorted now.. i didnt know the catchup structure in the m3u..

i wrote a script to add the catch up tag and pull which ever groups you want from your provider and write an m3u..

can i upload it if anyone wants it?

Nice, well done!!! Can you add to a GitHub gist or something and post a link here?
it crazy as i was working on everything you implemented last year.. i was able to watch catchup from the guide, also able to download catch up from the guide to keep shows longer, i wrote timers with bat files, and was working on timeshift ... now its all for nothing lol.... thank you for the great update..
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34