Kodi Community Forum
EPG (XML file) compatibiliy format - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: EPG (XML file) compatibiliy format (/showthread.php?tid=376906)



EPG (XML file) compatibiliy format - estarna - 2024-04-03

Hi community,

I'm using IPTV Simple client

I have a software that provide me an XML file for my EPG. When I load it in Kodi, the EPG is not displaying.

After a few tests, it seems that the format is giving IPTV Simple client some hard time related to its format.

Usually, the XML first lines are like this:


<?xml version="1.0" encoding="UTF-8" ?>
<tv generator-info-name="Original XML Generated with Tempest EPG Generator - Processed by my provider" generator-info-url="https://github.com/mydomain name">
<channel id="CNN HD"><display-name lang="en">CNN HD</display-name><icon src="https://cdn.tvpassport.com/image/station/75x16/v2/s58646_h15_ac.png"/></channel>


In the new format it shows like:

<tv date="04/03/2024 17:56:54" source-info-url="https://babla.com/myownname" source-info-name="provider" generator-info-name="Provider" generator-info-url="https://blabla"><channel id="7600"><display-name>ICI Explora</display-name><display-name>CA (FR) ICI Explora</display-name><icon src="http://12345.site.net:7095/api/files/5/https%3A%2F%2Fd1klg9utqvpetw.cloudfront.net%2Flogos%2Fguide%2F2%2FOpen%2F92x36_352%2FSource%2F35775%2Ficiexploratv.png" /></channel><programme start

Anyway to help IPTV Simple client to read it? Is it a limitation?

Any alternative?

Thanks.

-Eric


RE: EPG (XML file) compatibiliy format - Jönke - 2024-04-03

I also use tempest epg grabber and dont have any issues .
Make sure to use the same name for channels in m3u and epg xmltv so it can be mapped


RE: EPG (XML file) compatibiliy format - estarna - 2024-04-03

I converted it with https://xmlgrid.net/ to another format similar to the first format in the OP. Works fine. It has something to do with the format.

Thanks for responding.


RE: EPG (XML file) compatibiliy format - estarna - 2024-04-03

I also tested the original EPG xml file in JellyFin. Works fine also but not in Kodi.

In the log it says:
2024-04-03 15:48:20.437 T:9240    error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - iptvsimple::Epg::LoadEPG - Unable parse EPG XML: Error parsing start element tag, offset: 0: 

-Eric
                                                   [


RE: EPG (XML file) compatibiliy format - Jönke - 2024-04-05

https://forum.kodi.tv/showthread.php?tid=340691 Worth a try maybe ?


RE: EPG (XML file) compatibiliy format - estarna - 2024-04-05

I found out that <?xml version="1.0" encoding="UTF-8" ?> is missing on the first line of the XML file. File is compliant, but tag is missing.

When manually adding it, it works.

I contacted the developper. Hoping is will correct it in the next version or so.

Thanks Jönke for the help!

-Eric