Ticket #8115: mythburn.diff

File mythburn.diff, 771 bytes (added by lynchmv@…, 16 years ago)

Mytharchive diff for successful archiving of videos to DVD

  • mythplugins/mytharchive/mythburn/scripts/mythburn.py

     
    15961596        filename = os.path.join(videopath, file.attributes["filename"].value.replace("'", "\\'"))
    15971597        sqlstatement="""select title, director, plot, rating, inetref, year,
    15981598                        userrating, length, coverfile from videometadata
    1599                         where filename='%s'""" % filename
     1599                        where filename='%s'""" % file.attributes["filename"].value.replace("'", "\\'")
    16001600
    16011601        # connect
    16021602        db = getDatabaseConnection()