Bug #4659
xmltv/channels error
100%
Description
I'm getting the following error when accessing http://localhost:9981/xmltv/channels:
This page contains the following errors:
error on line 325 at column 74: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.
(followed by a list of channels)
first error is after:
US: A&E TV HD
How do I fix this?
Files
History
Updated by Em Smith about 7 years ago
Do you watch that channel? If not, go to Configuration->Channel->Channels and the untick the enabled flag next to that channel and save.
The actual problem is likely that the "&" is a special character in xml and should be
&
You could try clicking edit on that channel and save the new name to be
A&E TV HD
Updated by Jaroslav Kysela about 7 years ago
There's already code which escapes those chars:
htsbuf_append_and_escape_xml(hq, channel_get_name(ch, ""));
Please, upload (attach) the wrong XML file.
Updated by Eric Deacon about 7 years ago
Please see attached. My provider has an internal grabber pre-configured on a VM image, so I'm only presuming this is the same XML file fetched from the URL they provide for other apps.
Updated by Eric Deacon about 7 years ago
- File tvheadend.zip tvheadend.zip added
And this one, fetched from tvheadend using wget.
Updated by Jaroslav Kysela about 7 years ago
Parse error in: <icon src="https://archive.org/download/stevechatfield27_gmail_AeHd/a&e%20hd.png"/> -------------------------------------------------------------------------^
Updated by Jaroslav Kysela about 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|954d4c61451839037f3899a50705cffe5b8fd1cc.