Opened 11 years ago
Closed 11 years ago
#12110 closed Bug Report - General (Unverified)
Issue with mythfilldatabase and xml Channel identifier
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
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.