Project

General

Profile

Bug #4659

xmltv/channels error

Added by Eric Deacon about 7 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2017-10-07
Due date:
% Done:

100%

Estimated time:
Found in version:
4.2.3-95~g2bc61c904~xenial
Affected Versions:

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

guide.zip (4.66 MB) guide.zip Eric Deacon, 2017-10-08 18:39
tvheadend.zip (1.13 MB) tvheadend.zip Eric Deacon, 2017-10-08 19:26

History

#1

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

#2

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.

#3

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.

#4

Updated by Eric Deacon about 7 years ago

And this one, fetched from tvheadend using wget.

#5

Updated by Jaroslav Kysela about 7 years ago

Parse error in:

  <icon src="https://archive.org/download/stevechatfield27_gmail_AeHd/a&e%20hd.png"/>
-------------------------------------------------------------------------^
#6

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.

#7

Updated by Eric Deacon about 7 years ago

Thanks :-)

Also available in: Atom PDF