These XMLTV files can be used by XMLTVimport to provide the EPG.
However realize yourself that an enigma2 receiver only uses 4 tags. The timing, title, subtitle and description.
Extra tags like category, episode and previously shown are not used.
Also a tag like: <previously-shown /> could create problems.
Although this format is perfectly OK in xml. The XMLTVimporter does not recognize it.
Therefore I pass the XMLTV file through grep (in linux a standard installed utility - for windows it is in the GNUwin32 package)
grep -v -f "/home/EPG/GREPpattern.txt" "inputfile" > "outputfile"
I have attached my GREPpattern.
The you have to construct a .custom.channels.file. (Custom can be any name you wish) and copy this file in /etc/epgimport/
In this you define the link between the service ref you have given the channel on your Enigma2 receiver and the value channel id="I16485.labs.zap2it.com"
f.i. if you have defined a channel in the bouquetsfile:
#SERVICE 4097:0:1:1:0:32:0:0:0:0:http%3a//urtmpkal-f.akamaihd.net/i/1ef9833b4_1@128347/index_1_av-p.m3u8:TVL (BE)
The definition in the channels file looks like this:
<channel id="TVL.be">1:0:1:1:0:32:0:0:0:0:http%3a//example.m3u8</channel> <!-- TVL ++IPTV++ -->
Notice the 4097 in the bouquetfile. And the 1 the service ref in the channels file.
The part http%3a//example.m3u8 could be anything. But is needed to denote that this is a IPTV channel. You can have there the actual URL, but it is not needed. A dummy (but syntax correct) URL is enough.
I have added a bunch of channels which I have assigned for the channels listed on the website.
As you can see, each channel has to have a unique service ref. It can be anything (as long as it fits normal coding - max 4 digits Hexdecimal values)
The you have to make a IPTV sources file.
Place this file also in the /etc/epgimport/ folder
I have attached an example.
In this file you have to file in:
<url>Location and name of your XMLTV file</url>
This can be a local file or even an URL
f.i.
local file:
<url>/tmp/xmltv.xml</url>
or an file located on the internet
<url>http://epgalfasite.d...xmltv.xml</url>
Willy
PS: I am sorry but is all manual editting work. Which I know is a pain in the behind.