XML EPG source and unicoded channel names gives problems
The channel: "Omrop Fryslân" shows up like "Omrop Frysl__n" (also on the file system ".hts/tvheadend/epggrab/xmltv/channels")
After selecting this EPG source in "Channel/EPC" it is not remembering it after restart.
I use Webgrab++ to make the xml file.
<channel id="Omrop Fryslân">
<display-name lang="nl">Omrop Fryslân</display-name>
Updated by Daniel Kenzelmann over 6 years ago
You should use an ascii name for the "id" attribute without spaces. The actual channel name is specified in the display-name subelement.
See also the xmltv DTD regarding the "channel" element:
Each channel has one id attribute, which must be unique and should
preferably be in the form suggested by RFC2838 (the 'broadcast'
element of the grammar in that RFC, in other words, a DNS-like name
but without any URI scheme).
So your file should look something like this (just make sure the id is specified according to RFC2838):
<channel id="omrop.fryslan"> <display-name lang="nl">Omrop Fryslân</display-name> <url>http://www.tvgids.nl</url> </channel>
I am also parsing chinese TV listings without issues, there an example channel entry would be:
<channel id="cctveurope"> <display-name>CCTV-4 (欧洲)</display-name> <display-name>CCTV4</display-name> </channel>