Opened 11 years ago

Closed 11 years ago

#12110 closed Bug Report - General (Unverified)

Issue with mythfilldatabase and xml Channel identifier

Reported by: ernst.reiter@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: MythTV - Mythfilldatabase Version: 0.27-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

There is a issue when you have blanks in Channel names, e.g. "Pro 7". The xml importer has a split function on the first space, which causes me problems. Is there a Reason to only use the Channel identifier till the first "space"? Specially if you have channels with similar names, eg. "ORF 1" and "ORF 2".

xmltvparser.cpp 289 text = element.attribute("channel", ""); 290 QStringList split = text.split(" "); 291 292 pginfo->channel = split[0];

Cheers

Change History (3)

comment:1 Changed 11 years ago by stuartm

Which xmltv grabber are you using? It doesn't appear to be complying with the XMLTV spec - specifically:

"The 'channel' attribute references the 'id' of a channel element" "Each channel has one id attribute, which must be unique and should preferably be in the form suggested by RFC2838" - That is, a domain name which cannot contain spaces. e.g. prosieben.de

"pginfo->channel" is the xmltvid attribute of the channel, not it's name.

comment:2 Changed 11 years ago by stuartm

Status: newinfoneeded_new

comment:3 Changed 11 years ago by paulh

Resolution: Unverified
Status: infoneeded_newclosed

Closing no reply in 6 months.

Note: See TracTickets for help on using tickets.