DVR XMLTV generation issue

Thanks for this work. I got it up and running in ChannelsDVR. However, I am running into a syntax error as I am trying to export the EPG to Plex. It appears only one channel is giving me grief, "Law & Crime".

When xTeVe reads the EPG guide data it give an error:

[xTeVe] [ERROR] XML syntax error on line 1127207: invalid character entity &Crime (no semicolon) () - EC: 0

I have traced this to the following sections in the EPG Data:

<series-id system="xmltv:github.com">Law&Crime Daily</series-id>
    <episode-num system="xmltv:github.com">Law&Crime Daily/7ab42c80eb4fd9fa6f20a36cb4eab4da6c9f50dd9b7701f29e15335dac3c3ed7</episode-num>

I believe it is complaining about the "&" not being &amp;. I have loaded an edited epg guide data with the correction and it loads properly without errors.

Here is an example of the original guide data:

<programme start="20210521210000 +0000" stop="20210521213000 +0000" channel="9371">
    <title>Law&amp;Crime Daily</title>
    <desc>The first-run daily newsmagazine features coverage of the day&#39;s most intriguing real-life court cases and true-crime events -- with exclusive footage, interviews, and analysis from the top legal experts in the country.</desc>
    <category>CC</category>
    <category>HD 1080i</category>
    <category>Stereo</category>
    <series-id system="xmltv:github.com">Law&Crime Daily</series-id>
    <episode-num system="xmltv:github.com">Law&Crime Daily/7ab42c80eb4fd9fa6f20a36cb4eab4da6c9f50dd9b7701f29e15335dac3c3ed7</episode-num>
  </programme>

The code that populates the series-id and episode-num look like the need to properly encode for xml data.

Not sure what you’re getting the EPG from, because nowhere do I set series ID or episode number or any of those categories.

Looks like a bug in the DVR's xmltv generation. It should be fixed in v2021.05.26.0035

3 Likes

@tmm1 - this updated fixed errors with guide I noticed in Tivimate and found the same issue as carterbunch. After this update the guide data is fixed but show art is now missing from Tivimate.

@tmm1 -- never mind. This is not a problem. Sorry for the false alarm.

1 Like