[mythtv-commits] Ticket #8115: Fails to create DVD: IndexError
MythTV
mythtv at cvs.mythtv.org
Wed Mar 3 06:39:31 UTC 2010
#8115: Fails to create DVD: IndexError
-------------------------------------------------------------------+--------
Reporter: Antonio Marcos López Alonso <amlopezalonso@…> | Owner: paulh
Type: defect | Status: new
Priority: major | Milestone: unknown
Component: Plugin - MythArchive | Version: 0.22-fixes
Severity: medium | Mlocked: 0
-------------------------------------------------------------------+--------
Comment(by lynchmv@…):
After toying around with this very issue, I *think* I have it nailed down
to the sqlstatement for the elif file.attributes["type"].value=="video"
section. The sqlstatement uses the full file path for the query, which in
turn, returns 0 rows, so the nodes do not get created in info.xml
properly. I changed the sqlstatement to use
file.attributes["filename"].value.replace("'", "\\'") instead of just
filename and have been able to successfully burn DVDs of videos. Patch
attached.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8115#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list