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 &
. 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&Crime Daily</title>
<desc>The first-run daily newsmagazine features coverage of the day'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.