Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
EPG (XML file) compatibiliy format
#1
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
Reply
#2
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
Reply
#3
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.
Reply
#4
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
                                                   [
Reply
#5
https://forum.kodi.tv/showthread.php?tid=340691 Worth a try maybe ?
Reply
#6
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
Reply

Logout Mark Read Team Forum Stats Members Help
EPG (XML file) compatibiliy format0
This forum uses Lukasz Tkacz MyBB addons.