Cant create EPG for my .m3u list. Help is appreciated
#1
Hi all.

First of al, sorry for my english, im from spain.

I have created a test list, with only 2 spanish channels on IPTV. I have tried everything, but i cannot find the way to put the EPG correctly in Kodi, is always empty.

How is supossed to be done? I have tried to find the answers via the forum/internet, but im done.

Thanks in advance,
Sergio
Reply
#2
have you compiled correctly the ,m3u file?
have to be so....
Code:
#EXTM3U

#EXTINF:0, tvg-id="6601" tvg-logo="Logo N/A" tvg-name="Rai 1"  group-title="---Free To Air---",Rai 1
http://link_rai_1.m3u8
where the id is the one you find in .xml epg file.
Image
here the result
Image
Peppe
Reply
#3
If you are using Simple IPTV PVR then please try;

http://epg.serbianforum.org/epg.xml.gz

in the EPG section on configuration. It worked for me. Now all of my channels have an up to date EPG.
Reply
#4
(2015-07-28, 16:50)peppe_sr Wrote: have you compiled correctly the ,m3u file?
have to be so....
Code:
#EXTM3U

#EXTINF:0, tvg-id="6601" tvg-logo="Logo N/A" tvg-name="Rai 1"  group-title="---Free To Air---",Rai 1
http://link_rai_1.m3u8
where the id is the one you find in .xml epg file.
Image
here the result
Image
Peppe

Can you help me to insert the EPG in Kodi, I'm in Italy and I have the same your italian list channel.
I did not understand how.
Or if you have one already made, even better.
With which software can I compile it?
Thank you.
Reply
#5
hi.
you have to open your list with an editor (text editor or this) then edit as i explained in previous post.
read from your xml tv file the epg channel ID (each xml have differents ids) for me RAI1 is 6601 insert save the list and load again kodi.
my xml tv comes from an user of htpcitalia.it that wrote a little cool software. search for epgdownloader.
Peppe
Reply
#6
Hey, I'm having this same problem but I am matching the m3u tvg-id with XMLTV channel ID but i still don't get program info, only channel list in EPG.

Code:
// m3u

#EXTINF:0, tvg-id="abc.example.com", ABC
http://example.com/abc/index.m3u8


// epg.xml

<channel id="abc.example.com">
    <display-name>ABC</display-name>
    <icon src="http://example.com/abc/poster.jpg"/>
</channel>

<programme channel="abc.example.com" start="20160913054520 +0000" stop="20160913064520 +0000">
    <title lang="en">ABC</title>
    <icon src="http://example.com/abc/poster.jpg"/>
</programme>

I'm seeing the channel list in PVR Simple IPTV Client but not the program info.

I have valided the EPG xml with `tv_validate_file`:

Code:
$ tv_validate_file ~/data/epg.xml
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/XMLTV/ValidateFile.pm line 181.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/XMLTV/ValidateFile.pm line 183.
Validated ok.
Reply
#7
Hi there!
I am having a similar issue as the originator

My EPG xml file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<site generator-info-name="WebGrab+Plus/w MDB Postprocess -- version 1.1.1/3 -- Jan van Straaten" site="sincroguia.tv">
<channels>
<channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="La 1">La 1</channel>
</channels>
</site>

And the m3u:

#EXTINF:-1 tvg-ID="3" tvg-name="SP: LA1 HD" tvg-logo="http://logoss.ddns.net/html/sp/La_1_HD_TVE.jpg" group-title="Spain",SP: LA1 HD
http://.............................ts

I copy "3" (from site_id= in the EPG xml file) into tvg-ID field but it still doesnt work.

Can anyone advice what I am doing wrong??

Thanks
Reply
#8
(2017-02-11, 03:41)guanchi Wrote: Hi there!
I am having a similar issue as the originator

My EPG xml file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<site generator-info-name="WebGrab+Plus/w MDB Postprocess -- version 1.1.1/3 -- Jan van Straaten" site="sincroguia.tv">
<channels>
<channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="La 1">La 1</channel>
</channels>
</site>

And the m3u:

#EXTINF:-1 tvg-ID="3" tvg-name="SP: LA1 HD" tvg-logo="http://logoss.ddns.net/html/sp/La_1_HD_TVE.jpg" group-title="Spain",SP: LA1 HD
http://.............................ts

I copy "3" (from site_id= in the EPG xml file) into tvg-ID field but it still doesnt work.

Can anyone advice what I am doing wrong??

Thanks

EPG doesn't use that tvg-ID. Instead it uses the channel name.

So wherever you are grabbing EPG from this line <channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="La 1">La 1</channel>
should look like this <channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="SP: LA1 HD">SP: LA1 HD</channel>.
I change name and xml_id aswell to avoid conflicts.
Reply
#9
(2017-02-11, 12:13)kataiba Wrote:
(2017-02-11, 03:41)guanchi Wrote: Hi there!
I am having a similar issue as the originator

My EPG xml file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<site generator-info-name="WebGrab+Plus/w MDB Postprocess -- version 1.1.1/3 -- Jan van Straaten" site="sincroguia.tv">
<channels>
<channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="La 1">La 1</channel>
</channels>
</site>

And the m3u:

#EXTINF:-1 tvg-ID="3" tvg-name="SP: LA1 HD" tvg-logo="http://logoss.ddns.net/html/sp/La_1_HD_TVE.jpg" group-title="Spain",SP: LA1 HD
http://.............................ts

I copy "3" (from site_id= in the EPG xml file) into tvg-ID field but it still doesnt work.

Can anyone advice what I am doing wrong??

Thanks

EPG doesn't use that tvg-ID. Instead it uses the channel name.

So wherever you are grabbing EPG from this line <channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="La 1">La 1</channel>
should look like this <channel update="i" site="sincroguia.tv.mp" site_id="3" xmltv_id="SP: LA1 HD">SP: LA1 HD</channel>.
I change name and xml_id aswell to avoid conflicts.

Thanks for your response kataiba, I was getting to that conclusion.

Can you recommend a page to grab the EPG list??
Reply
#10
i use webgrabplus. read the documentation and set it up. any questions ask me here


Sent from my iPhone
Reply
#11
(2017-02-11, 13:16)kataiba Wrote: i use webgrabplus. read the documentation and set it up. any questions ask me here


Sent from my iPhone (typie typie)

Thanks again katiba. I am a newbie with this and perhaps I am a bit thick today...

What I am currently doing:

1.- Go to webgrabplus, download .xml file, for example:

<?xml version="1.0" encoding="UTF-8"?>
<site generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version V1.57 -- Jan van Straaten" site="sincroguia.tv">
<channels>
<channel update="i" site="sincroguia.tv" site_id="3" xmltv_id="La 1">La 1</channel>
</channels>

2.- Open the .m3u file:

#EXTM3U
#EXTINF:-1 tvg-ID="LA 1" tvg-name="SP: LA 1" tvg-logo="http://logoss.ddns.net/html/spnew/tve1_madrid.png" group-title="Spain",SP: LA 1
http://xxxxxxxxxxxxxxxxxxx.ts

And modify to:

#EXTM3U
#EXTINF:-1 tvg-ID="3" tvg-name="SP: LA 1" tvg-logo="http://logoss.ddns.net/html/spnew/tve1_madrid.png" group-title="Spain",SP: LA 1
http://xxxxxxxxxxxxxxxxxxx.ts

so both xml file and m3u files have the same tv-ID 3.

3.- Load to kodi

Do you know what I am doing wrong?

Many thanks
Reply
#12
katiba, for some reason I can't respond to private messages but it's working. Thank you very much for your help!!
Reply
#13
So in webgrab folder you edit WebGrab++.config.xml to add your own channels right?
In that file the name of the channel you are grabbing should match the name of the channel in the m3u list.
I'll leave an example of my WebGrab++.config.xml for spanish channels

<settings>
<timespan>2</timespan> <---- 2 means it grabs for 3 days 3=4 days and so on
<update></update>
<filename>whateverpathyouwant\xmltv.xml</filename>

<channel update="i" site="elmundo.es" site_id="2" xmltv_id="SP: ANTENA 3">SP: ANTENA 3</channel>
<channel update="i" site="guia-tv.es" site_id="bein-sports" xmltv_id="bein Sports">bein Sports</channel>
<channel update="i" site="elmundo.es" site_id="155" xmltv_id="SP: BARCA TV">SP: BARCA TV</channel>
<channel update="i" site="elmundo.es" site_id="665" xmltv_id="SP: BOING">SP: BOING</channel>
<channel update="i" site="elmundo.es" site_id="64" xmltv_id="SP: CALLE 13">SP: CALLE 13</channel>
<channel update="i" site="elmundo.es" site_id="61" xmltv_id="SP: CANAL HOLLYWOOD">SP: CANAL HOLLYWOOD</channel>
<channel update="i" site="elmundo.es" site_id="135" xmltv_id="SP: CANAL ODISEA">SP: CANAL ODISEA</channel>
<channel update="i" site="elmundo.es" site_id="505" xmltv_id="SP: CLAN TV">SP: CLAN TV</channel>
<channel update="i" site="elmundo.es" site_id="493" xmltv_id="SP: COMEDIA CENTRAL">SP: COMEDIA CENTRAL</channel>
<channel update="i" site="elmundo.es" site_id="496" xmltv_id="SP: CUATRO">SP: CUATRO</channel>
<channel update="i" site="elmundo.es" site_id="175" xmltv_id="SP: DISNEY CHANNEL">SP: DISNEY CHANNEL</channel>
<channel update="i" site="elmundo.es" site_id="292" xmltv_id="SP: DISNEY JUNIOR">SP: DISNEY JUNIOR</channel>
<channel update="i" site="elmundo.es" site_id="174" xmltv_id="SP: DISNEY XD">SP: DISNEY XD</channel>
<channel update="i" site="elmundo.es" site_id="697" xmltv_id="SP: DIVINITY">SP: DIVINITY</channel>
<channel update="i" site="elmundo.es" site_id="709" xmltv_id="SP: ENERGY">SP: ENERGY</channel>
<channel update="i" site="elmundo.es" site_id="202" xmltv_id="SP: FOX">SP: FOX</channel>
<channel update="i" site="elmundo.es" site_id="660" xmltv_id="SP: FOX LIFE">SP: FOX LIFE</channel>
<channel update="i" site="elmundo.es" site_id="148" xmltv_id="SP: HISTORIA">SP: HISTORIA</channel>
<channel update="i" site="elmundo.es" site_id="3" xmltv_id="SP: LA 1">SP: LA 1</channel>
<channel update="i" site="elmundo.es" site_id="4" xmltv_id="SP: LA 2">SP: LA 2</channel>

</settings>

If you can see i changed the last 2 values in every line with my own m3u names. Otherwise is not going to work.

In your example

#EXTM3U
#EXTINF:-1 tvg-ID="3" tvg-name="SP: LA 1" tvg-logo="http://logoss.ddns.net/html/spnew/tve1_madrid.png" group-title="Spain",SP: LA 1
http://xxxxxxxxxxxxxxxxxxx.ts

changing tvg-ID doesn't work. As i said before name of the channel in the m3u list (in this example SP: LA 1) needs to match the name of the channel that is being grabbed in WebGrab++.config.xml
Reply
#14
(2017-02-11, 14:19)guanchi Wrote: katiba, for some reason I can't respond to private messages but it's working. Thank you very much for your help!!

You haven't made enough qualifying posts yet to have that privilege enabled on your account.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
Cant create EPG for my .m3u list. Help is appreciated0