[mythtv] Patch: (was: How do I use an "&" in ui.xml?)

Jim Paris jim at jtan.com
Fri Oct 17 19:57:27 EDT 2003


> > What is the category called in the database (do a "select category
> > from programinfo")?  It may be & in the database, in which case
> > you probably need & in the XML to match that.
> 
> As I say it's just like: "News & Weather".  I am changing the grabber at the
> moment, so perhaps I will change it to & if this really is the right
> thing to do, but I'm not sure at the moment

'&' should be right.  Can you check the value of 'cat' after the 'cat
= info.attribute("category")' in xmlparse.cpp around line 515?
I believe the QT XML stuff should decode the '&' so it should just
have 'News & Weather', which _should_ match the database..

-jim


More information about the mythtv-dev mailing list