Some background:
Engima2 is designed for Sat, Cable or DVB-T
A channel in these systems is identified by its service ref. F.i. 1:0:1:1F8:384:13E:820000:0:0:0:
This service ref is for the channel: NASA on Hotbird (13.0E)
In order to import EPG for this channel we have to tell what EPG is linked to this service ref, by an entry in the channels file:
<channel id="NASA.us">1:0:1:1F8:384:13E:820000:0:0:0:</channel><!-- NASA -->
Now IPTV works a bit different. It does not have a service ref. Only an URL.
Let us have a look at one IPTV channel: TV-Oost (a regional channel from Belgium)
https://live.zendzend.com/streams/29375_399410/1080n/index.m3u8
This will play on enigma2 if you make an entry in a bouquet file like this:
#SERVICE https://live.zendzend.com/streams/29375_399410/1080n/index.m3u8
#DESCRIPTION TV Oost
However this has no service ref to attach the EPG too. Therefore we assign a fake service ref to it:
#SERVICE 4097:0:1:3:0:32:0:0:0:0:https%3a//live.zendzend.com/streams/29375_399410/1080n/index.m3u8:TV Oost
#DESCRIPTION TV Oost
Now this channel has a service ref. And we can link this to the desired EPG by the entry in the channels file.
<channel id="TVoost.be">4097:0:1:3:0:32:0:0:0:0:http%3a//</channel><!-- TV Oost -->
You see after the service ref we have added http%3a// to instruct EPGimport to skip the channel checking (otherwise it will only import EPG for channels in lamedb - which this channels is not)
These entries are mostly made in the custom.channels.xml file. (There are other possibilities).
<channel id="TVoost.be"> is the entry under which the EPG is available in the rytec XMLTV files.
Let's now have a look at your m3u8 file:
#EXTINF:-1 tvg-id="" tvg-name="DE: ZDF Neo" tvg-logo="http://s3.i3ns.net/p...b293cd8be6f.png" group-title="DE Sender",DE: ZDF Neo
http:....
It has a channel name and a URL.
The fake service ref will be generated by the script.
So far so good.
But there is no EPG ref (tvg-id="") It is empty.
The script will never now which EPG the link with this channel.
IPTV providers are noticeable lazy. They almost never bother to fill in this info.
You can do it yourself, but each update you have to repeat the process.
If now they would amend their files with the correct EPGref, things would be a lot smoother.
.
Edited by doglover, 28 January 2023 - 19:22.