[mythtv] small bug in filldata.cpp

Lutz-Peter Hooge lpvader at gmx.de
Fri May 14 18:43:57 EDT 2004


Hi,

I had the problem that running mythfilldatabase (uses
tv_grab_de_tvtoday) gave me lots of SQL errors because of
of unescaped quotes.

The fix was easy as soon as I found the resonsible
part of the code:

In filldata.cpp, after line 1511 insert a line
(*i).category.replace(QRegExp("\""), QString("\\\""));

Yes, I find it strange that this xmltv module returns strings
that contain quotes for the category, but nevertheless it should
be able to without causing errors.

Lutz-Peter Hooge


More information about the mythtv-dev mailing list