CoreELEC with IPTV Archive support


#102

According to the link you posted, {utc} is what you need to get the start time of the program in UTC format.
If you’re going to implement a server for this purpose, you can implement the logic of generating the correct URL on the server, rather than having to come with some custom solution in the archive addon for your specific provider.


#103

It looks like to play recorded event from epg, I also need event duration, like this:
http://flussonic-ip/STREAMNAME/mono-1362504585-3600.m3u8

Unix timestamp (utc) + duration in seconds

My purpose is to capture real traffic.


#104

Show an example of a playlist for the archive to work, here is my example with it not working, what am I doing wrong?

#EXTM3U url-tvg=“xxxxtvg/xmltv.xml.gz”
#EXTINF:0 tvg-name=“Первый канал (Орбита 3 +4)”,Первый канал catchup=“default” catchup-source=“http://91.xx.xx.115:80/1tv/index.m3u8/?start=${start}” catchup-days=4,Первый канал
http://91.xx.xx.62:4022/udp/239.192.101.11:1234


#105

Here is example for two channels:

#EXTINF:0 catchup="default" catchup-source="http://spacetv.in/stream/XXXXXXXX/150.m3u8?utc={utc}&lutc={lutc}",Jim Jam
#EXTGRP:детские
http://192bfe64.iptvzone.me/iptv/XXXXXXXXXXXXXX/138/index.m3u8
#EXTINF:0 catchup="default" catchup-source="http://spacetv.in/stream/MXXXXXXXX/220.m3u8?utc={utc}&lutc={lutc}",Nick Jr
#EXTGRP:детские
http://192bfe64.iptvzone.me/iptv/XXXXXXXXXXX/114/index.m3u8

Most probablly your provider is using different format for archive since I see udpxy package is being used to convert multicast streams to https. You have to “sniff” your network traffic to see what kind of messages are used to point player to right archive programme.


#106

I have the same situation as the user giaur500 - server archive on Flussonic


#107

As my server archive seems to be Flussonic, I am still unable to access archive as Flussonic docs says. I tried to get archive m3u according to their docs, but server returns “no dvr” error. I’m going to test with SipTV to determine if archive is actually up now.
Have you even succeded with accessing archive? You can generate archive links as Flussonic docs says and test them with VLC or Chrome (download m3u).

Flussonic does not accept cathup-source syntax.


#108

alas :neutral_face:


#109

it turned out :rofl:, the link should be of the following form

#EXTINF:0 tvg-name=“Первый канал (Орбита 3 +4)”, catchup=“default” catchup-source=“http://91.курилынаши.115:80/1tvv/index-{utc}-360.m3u8” catchup-days=“4”,Первый канал
http://91.трампнаш.62:4022/udp/239.192.101.11:1234


#110

Could someone help with correct format to use.

My catch up link is in the following format

http://xxxxxxxx.xxxx:80/streaming/timeshift.php?username=xxxxxxxxxxxx&password=xxxxxxxxx&stream=7962&start=2019-03-08:11-30&duration=31500


#111

Shouldn’t be too hard, these are the placeholders:

  • {utc} - The start time of the program in UTC format.
  • {lutc} - Current time in UTC format.
  • {Y} - The 4-digit year (YYYY) of the start date\time.
  • {m} - The month (01-12) of the start date\time.
  • {d} - The day (01-31) of the start date\time.
  • {H} - The hour (00-23) of the start date\time.
  • {M} - The minute (00-59) of the start date\time.
  • {S} - The second (00-59) of the start date\time.

So if what you’ve posted is accurate, it’ll look like this:
http://xxxxxxxx.xxxx:80/streaming/timeshift.php?username=xxxxxxxxxxxx&password=xxxxxxxxx&stream=7962&start={Y}-{m}-{d}:{H}-{M}&duration=31500


#112

What I’ve tried in the Archive URL Format is

{Y}-{m}-{d}:{H}-{M}

But no luck. I’ve tried both Play from EPG in live mode, on and off.

Anything else you could suggest?

Many thanks
Paul


#113

Maybe the duration is wrong, it’s either in seconds or minutes, so try 60 or 3600. 31500 is probably way too large of a number.


#114

Here another,
http://xxxxxx.xxx:80/streaming/timeshift.php?username=xxxx&password=xxxxxx&stream=76153&start=2019-03-09:13-00&duration=7200

This show was on for an hour, so not sure why it’s showing the duration of 7200.

Am I right in saying the Archive URL Format is
{Y}-{m}-{d}:{H}-{M}

Thanks Paul


#115

I think colon character should be escaped with %3A.


#116

Thanks for the reply, could you give me an example

Should it be this?
{Y}-{m}-{d}%3A{H}-{M}


#117

hi guys, dug out my old(ish) A95X box, it did an auto update to 9.0.1
I’m missing the option ‘CoreELEC Nightly Add-ons’ from the repository, I just have ‘CoreELEC Add-ons’ and kodi and kodinerds!
Anyway I installed it from the CoreELEC add-ons, so got nightik - 3.5.7.2 but the option to 'run’is greyed out…any ideas?
Cheers


#118

Nightly addons repo is only available on the nightly builds, instead of the stable branch addons.
You don’t “run” the iptv addon, after you configure it, you’ll have a TV menu entry in Kodi home screen.


#119

thanks for reply
ok I still don’t get anything in the TV options…no channels, no guide, no recordings…
is there a ‘test’ M3U play list to try?
EDIT: i’ve updated the box to use nightlies and updated PVR iptv addon to 3.5.7.3 now…
EDIT2: ooh ooh it’s working! I used fluxustv to test it out…
Rock on CoreELEC :yum:


#120

Am i right in saying the archive(catch up) link you need to decipher to the format for the Archive URL format.

Still can’t get this working for my provider king

The normal channel playback URL is in the following format

http://xxxxxxx.xxx:80/username/password/76153

Any help would be gratefully appreciated

Cheers
Liffey