[mythtv-commits] Ticket #8707: ASCII NULL (\0) in metadata can cause Live TV to fail and recordings to disappear from mythfrontend (was: EPG can fail if database contains \0)
MythTV
noreply at mythtv.org
Sat Apr 9 23:15:52 UTC 2011
#8707: ASCII NULL (\0) in metadata can cause Live TV to fail and recordings to
disappear from mythfrontend
-------------------------------+----------------------------
Reporter: glemsom@… | Owner: stuarta
Type: defect | Status: assigned
Priority: major | Milestone: 0.24.1
Component: MythTV - EIT | Version: 0.23-fixes
Severity: medium | Resolution:
Keywords: EPG eit \0 | Ticket locked: 0
-------------------------------+----------------------------
Changes (by kenni):
* owner: janne => stuarta
Comment:
Besides failing Live TV; If a program containing the ASCII NUL character
in its metadata gets recorded, the list of recordings on the frontend can
result in "No recordings found" without any obvious error messages.
Workaround:
{{{
UPDATE recorded SET title=REPLACE(title, '\0', '');
UPDATE recorded SET subtitle=REPLACE(subtitle, '\0', '');
UPDATE recorded SET description=REPLACE(description, '\0', '');
}}}
These chars should be stripped out from EIT before we pass them to the DB.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/8707#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list