Unexpected end of file during parsing of label reference while trying to import a huge XMLTV file
Added by Iris EPG over 3 years ago
Hello users from TVHeadend server.
I'm a new user and I hope I'm not violating any rule on the forum.
Since I begin to use Tvheadend I was pretty curious how the XMLTV system works, so I made a python website scrapper to generate a XMTV file in the same standards of the examples that I found on the internet, while importing just one channel, I could successfully scan the channel and the programming respecting the schedule as well, however, with more than 3 channels, I receive the following error while trying to import the XMTV file
2021-06-27 18:47:44.815 xmltv: xmltv: htsmsg_xml_deserialize error Unexpected end of file during parsing of label reference
2021-06-27 18:47:44.815 xmltv: xmltv: failed to read data
2021-06-27 18:47:55.311 htsp: Got connection from 192.168.100.138
2021-06-27 18:47:55.312 htsp: 192.168.100.138: Welcomed client software: Kodi Media Center (HTSPv34)
2021-06-27 18:47:55.313 htsp: 192.168.100.138 [ Kodi Media Center ]: Identified as user ''
2021-06-27 18:48:05.784 xmltv: xmltv: htsmsg_xml_deserialize error Unexpected end of file during parsing of label reference
2021-06-27 18:48:05.784 xmltv: xmltv: failed to read data
The file has the open and close tags respectively, however, more than 10000 lines, for some reason, it doesn't fint the XML file in full implying that are open tags when in fact there are any.
I tried to import via internal grabber, via socket as shown on this blog: https://freetoairamerica.wordpress.com/2014/12/03/some-hints-for-getting-free-to-air-satellite-channels-into-the-electronic-program-guide-in-kodi-or-xbmc-or-another-frontend/
Bellow you can check file example of the XML that I'm trying to use.
Thank you for you supporting.
EDIT:
Sorry I forgot some important data
The hardware that I'm using is a Raspberry 3 B+
The Operational system used is Libreelec 9.2.6
TVHeadend server version HTS Tvheadend 4.2.8-36 ~ LibreELEC Tvh-addon v9.2.0.123
IrisEPG.xml (972 KB) IrisEPG.xml |
Replies (1)
RE: Unexpected end of file during parsing of label reference while trying to import a huge XMLTV file - Added by Iris EPG over 3 years ago
Thank you for the opportunity, but I figured out what was wrong with my XML file, basically was full of special characters like &<>! and etc, just replace them and is all OK.