Xteve - xmltv

With one of the recent beta updates for the dvr XTEVE is now rejecting the exported xmltv as malformed

Have you ran the exported XML through a validator, using the XMLTV DTD to see if it really is malformed? Or is this a error on the part of xTeVe?

This has been an issue with xteve for at least a year. I traced it down to xteve not handling a special character. In my case it was "&". So Law & Order killed xteve from working.

I use XTEVE in Plex and have no problem with it handling Law and Order .. using XMLTV from schedules Direct. The XMLTV from Channels DVR just is not consistent with what Plex and EMBY are looking for.

This is what the XMLTV from schedules direct feeding XTEVE looks like....

<programme start="20210617230000 +0000" stop="20210618000000 +0000" channel="EPG123.59296.schedulesdirect.org">
<title>Law &amp; Order: Criminal Intent</title>
<sub-title>Amends</sub-title>
<desc>When her late husband's partner is killed on the job, Eames must re-examine her husband's murder.</desc>
<credits>
  <director>JesĂşs Salvador Trevino</director>
  <actor role="Detective Robert Goren">Vincent D'Onofrio</actor>
  <actor role="Detective Alexandra Eames">Kathryn Erbe</actor>
  <actor role="Capt. Danny Ross">Eric Bogosian</actor>
  <writer>Siobhan Byrne O'Connor</writer>
  <writer>Warren Leight</writer>
  <producer>Dick Wolf</producer>
  <producer>Rene Balcer</producer>
  <guest>Mike Pniewski</guest>
  <guest>Leslie Hendrix</guest>
  <guest>Holt McCallany</guest>
  <guest>Felix Solis</guest>
  <guest>Rafael Sardina</guest>
  <guest>Gio Perez</guest>
  <guest>Florencia Lozano</guest>
  <guest>Steven Randazzo</guest>
  <guest>Seth Gilliam</guest>
  <guest>Emilio Delgado</guest>
  <guest>Gerald McCullouch</guest>
  <guest>Shirley Roeca</guest>
  <guest>Miles Williams</guest>
  <guest>Tom Ligon</guest>
</credits>
<date>20071004</date>
<category>Series</category>
<category>Crime drama</category>
<category>Docudrama</category>
<language>en</language>
<icon src="https://schedulesdirect-api20141201.s3.us-east-1.amazonaws.com/assets/p184724_b_v5_au.jpg" width="240" height="360" />
<icon src="https://schedulesdirect-api20141201.s3.us-east-1.amazonaws.com/assets/p184724_b_v3_au.jpg" width="270" height="360" />
<icon src="https://schedulesdirect-api20141201.s3.us-east-1.amazonaws.com/assets/p184724_b_h3_au.jpg" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201.s3.us-east-1.amazonaws.com/assets/p184724_b_h13_ah.jpg" width="480" height="270" />
<episode-num system="dd_progid">EP00446173.0140</episode-num>
<episode-num system="xmltv_ns">6.0.0/1</episode-num>
<video>
  <quality>HDTV</quality>
</video>
<audio>
  <stereo>stereo</stereo>
</audio>
<previously-shown></previously-shown>
<subtitles type="teletext" />
<rating system="advisory">
  <value>Language</value>
</rating>
<rating system="advisory">
  <value>Violence</value>
</rating>
<rating system="USA Parental Rating">
  <value>TV14</value>
</rating>
<rating system="VCHIP">
  <value>TV-14</value>
</rating>

E:\xmltv-1.0.0-win32\xmltv-1.0.0-win32>xmltv.exe tv_validate_file xmltv_2.xml
Timezone is -0400
The file is not valid according to the xmltv dtd:
xmltv_2.xml:3: validity error : Element tv content does not follow the DTD, expecting (channel* , programme*), got (channel programme channel programme programme programme channel programme programme programme channel programme channel programme programme programme programme channel programme programme channel programme channel programme programme channel programme programme programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme programme channel programme programme programme channel programme programme programme programme channel programme programme programme programme channel programme programme channel programme programme programme programme channel programme programme channel programme programme programme channel programme programme programme programme channel programme programme programme channel programme channel programme programme channel programme programme channel programme channel programme programme channel programme programme programme programme channel programme programme programme channel programme channel programme programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme programme channel programme programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme programme channel programme channel programme channel programme channel programme programme programme channel programme programme programme channel programme channel programme programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme programme programme programme channel programme programme programme programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme channel programme programme programme channel programme channel programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme channel programme programme channel programme channel programme channel programme channel programme channel programme channel programme programme channel programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme programme channel programme programme programme channel programme programme programme programme channel programme programme programme channel programme programme programme channel programme programme channel programme programme programme channel programme programme channel programme channel programme channel programme programme channel programme channel programme programme channel programme channel programme channel programme programme channel programme programme programme channel programme programme channel programme programme channel programme channel programme channel programme channel programme programme channel programme programme channel programme programme channel programme programme programme channel channel channel channel channel channel channel channel channel channel channel programme programme programme channel programme programme programme channel programme programme channel programme programme channel programme programme programme channel programme programme programme channel programme programme channel programme programme channel channel programme channel programme programme channel programme programme programme channel programme programme programme programme programme programme channel programme programme channel programme channel programme programme channel programme programme programme channel programme programme programme channel programme programme programme programme programme programme channel programme channel programme programme programme programme channel programme ...
xmltv_2.xml:4: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:5: validity error : No declaration for element lcn
xmltv_2.xml:9: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title desc icon series-id episode-num )
xmltv_2.xml:13: validity error : No declaration for element series-id
xmltv_2.xml:13: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:16: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:17: validity error : No declaration for element lcn
xmltv_2.xml:21: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:26: validity error : No declaration for element series-id
xmltv_2.xml:26: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:30: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:35: validity error : No declaration for element series-id
xmltv_2.xml:35: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:39: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:44: validity error : No declaration for element series-id
xmltv_2.xml:44: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:48: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:49: validity error : No declaration for element lcn
xmltv_2.xml:53: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:58: validity error : No declaration for element series-id
xmltv_2.xml:58: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:62: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:67: validity error : No declaration for element series-id
xmltv_2.xml:67: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:71: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:76: validity error : No declaration for element series-id
xmltv_2.xml:76: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:80: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:81: validity error : No declaration for element lcn
xmltv_2.xml:85: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:90: validity error : No declaration for element series-id
xmltv_2.xml:90: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:94: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:95: validity error : No declaration for element lcn
xmltv_2.xml:99: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:104: validity error : No declaration for element series-id
xmltv_2.xml:104: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:108: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:113: validity error : No declaration for element series-id
xmltv_2.xml:113: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:117: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:122: validity error : No declaration for element series-id
xmltv_2.xml:122: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:126: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:131: validity error : No declaration for element series-id
xmltv_2.xml:131: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:135: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:136: validity error : No declaration for element lcn
xmltv_2.xml:140: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:145: validity error : No declaration for element series-id
xmltv_2.xml:145: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:149: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:154: validity error : No declaration for element series-id
xmltv_2.xml:154: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:158: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:159: validity error : No declaration for element lcn
xmltv_2.xml:163: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title desc icon series-id episode-num )
xmltv_2.xml:167: validity error : No declaration for element series-id
xmltv_2.xml:167: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:170: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:171: validity error : No declaration for element lcn
xmltv_2.xml:175: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:180: validity error : No declaration for element series-id
xmltv_2.xml:180: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:184: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:189: validity error : No declaration for element series-id
xmltv_2.xml:189: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:193: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:194: validity error : No declaration for element lcn
xmltv_2.xml:198: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:203: validity error : No declaration for element series-id
xmltv_2.xml:203: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:207: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:212: validity error : No declaration for element series-id
xmltv_2.xml:212: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:216: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:221: validity error : No declaration for element series-id
xmltv_2.xml:221: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:225: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:230: validity error : No declaration for element series-id
xmltv_2.xml:230: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:234: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:235: validity error : No declaration for element lcn
xmltv_2.xml:239: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:244: validity error : No declaration for element series-id
xmltv_2.xml:244: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:248: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:253: validity error : No declaration for element series-id
xmltv_2.xml:253: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:257: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:258: validity error : No declaration for element lcn
xmltv_2.xml:262: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:267: validity error : No declaration for element series-id
xmltv_2.xml:267: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:271: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )
xmltv_2.xml:276: validity error : No declaration for element series-id
xmltv_2.xml:276: validity error : No declaration for attribute system of element series-id
xmltv_2.xml:280: validity error : Element channel content does not follow the DTD, expecting (display-name+ , icon* , url*), got (lcn display-name icon )
xmltv_2.xml:281: validity error : No declaration for element lcn
xmltv_2.xml:285: validity error : Element programme content does not follow the DTD, expecting (title+ , sub-title* , desc* , credits? , date? , category* , keyword* , language? , orig-language? , length? , icon* , url* , country* , episode-num* , video? , audio? , previously-shown? , premiere? , last-chance? , new? , subtitles* , rating* , star-rating* , review*), got (title sub-title desc icon series-id episode-num episode-num )

The file did not validate as well-formed XML, so no further
processing was performed.

What the heck is that ?? that does not even look like an XML from Channels DVR.

I just ran a test, and the XMLTV output from Channels properly escapes all needed characters (<, &, >) in the title, sub-title and other elements where PCDATA is specified. So, that wouldn't be the problem in this regard.

However, without any details about the problem XML, everything is just a bunch of WAGs.

1 Like

its a validation of the file using xmltv.exe

Well, it does indeed look like the XML is malformed. There are 3 problems being pointed out:

  1. Element ordering – When elements are defined with commas (<!ELEMENT tv (channel*, programme*)>), they MUST occur in that order. Therefore, to be well–formed, all of the channel elements MUST preceed the programme elements.
  2. lcn element – Channels includes a lcn element as the first child of the channel element. (I assume this is a local channel number being specified.) However, the XMLTV DTD does not include this element. (Most other XMLTV generators put the channel number as one of the display-name elements to get around this limitation of the spec.)
  3. series-id element – Channels includes its own series-id identifier in the output XMLTV as a child of the programme element. Again, this element is not defined in the DTD, and therefore the resulting file is malformed.

So, while xTeVe may be correct, I'm not sure this is really something that the developers ought to spend a lot of time fixing. (Especially since most XML parsers will not have a problem ingesting the content. Outside of those three violations, the XML is correct.) Also, the two additional elements that Channels is adding to the output are beneficial. (Perhaps a PR ought to be done to add those elements.)

You might have better luck getting xTeVe to relax their XMLTV consumption than getting Channels to strictly follow the DTD. Perhaps an override option to allow for complete but malformed content?

(As an aside, the XMLTV spec is really random. Some portions use a 0–based index for counting, while others start with 1. Add to that the issue over the new element, which is not well–defined, and additional issues crop up. There really ought to be a better way to specify all of this content/metadata than what we have now.)

Wasn't this fixed in DVR XMLTV generation issue ?

Yes, the "&" was fixed but I've not tested with xteve.

i'm getting around by just doing the version of xteve without xmltv - then importing the xmltv into plex directly

Not sure what changed recently

Is there an error message in the xteve logs? What does it not like or think is malformed?

The logs were posted above, and I iterated what the errors were. The first one about element ordering can be fixed by changing how Channels outputs the data. The second two can be fixed by using different elements: in the case lcn, use another display-name element; for series-id, the recommended method in the DTD is to use another episode-num element with a different system attribute to explain the content.

Those logs are from an xml linter, not xteve. I don't care what the linter says.

this is the startup error

2021/06/04 15:52:59 [xTeVe] Download: http://192.168.1.239:8093/m3u
2021/06/04 15:52:59 [xTeVe] Check File: http://192.168.1.239:8093/m3u
2021/06/04 15:52:59 [xTeVe] Save File: http://192.168.1.239:8093/m3u [ID: MQMHDV28M4AID4B5TK69]
2021/06/04 15:52:59 [xTeVe] Download: http://192.168.1.239:8089/devices/TVE-Verizon/guide/xmltv?duration=86400
2021/06/04 15:53:00 [xTeVe] Check File: http://192.168.1.239:8089/devices/TVE-Verizon/guide/xmltv?duration=86400
2021/06/04 15:53:00 [xTeVe] Save File: http://192.168.1.239:8089/devices/TVE-Verizon/guide/xmltv?duration=86400 [ID: XNPO9G62E8WECT3M7K6O]
2021/06/04 15:53:00 [xTeVe] Download: http://192.168.1.239:8093/epg
2021/06/04 15:53:01 [xTeVe] Check File: http://192.168.1.239:8093/epg
2021/06/04 15:53:01 [xTeVe] Save File: http://192.168.1.239:8093/epg [ID: XVKVIVSK7B6L9L6ZNZQ6]
2021/06/04 15:53:01 Channel: DEN-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: PHI-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: AS-AQUATEENHUNGER - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: AS-SAMURAIJACK - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: AS-INFOMERCIALS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: NY-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: SF-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: PIT-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 Channel: DAL-CBSNEWS - tvc-guide-stationid =
2021/06/04 15:53:01 [xTeVe] All streams: 283
2021/06/04 15:53:01 [xTeVe] Active streams: 283
2021/06/04 15:53:01 [xTeVe] Filter: 0
2021/06/04 15:53:01 [xTeVe] XEPG: Parse XMLTV file: mlb
2021/06/04 15:53:01 [xTeVe] XEPG: Parse XMLTV file: XMLTV
e[33me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[31me[0me[33me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0me[0m
* * * * * FATAL ERROR * * * * *

OS: linux
Arch: amd64
Err: runtime error: index out of range [0] with length 0


panic.go:965 runtime.gopanic
panic.go:88 runtime.goPanicIndex
xepg.go:216 xteve/src.createXEPGMapping.func1
xepg.go:259 xteve/src.createXEPGMapping
xepg.go:108 xteve/src.buildXEPG
config.go:261 xteve/src.StartSystem
xteve.go:197 main.main
proc.go:234 runtime.main
asm_amd64.s:1372 runtime.goexit

* * * * * * * * * * * * * * * *

Not sure how to pull better logs from xteve

It crashes xteve on boot - i realized that sometime in the last 2 days it crashed and it won't run again - i rebuilt it and as soon as i push channel xmltv it crashes again

As i said i have a different solution now but this may come up