<br><br><div><span class="gmail_quote">On 12/2/06, <b class="gmail_sendername">Cory Papenfuss</b> <<a href="mailto:papenfuss@me.vt.edu">papenfuss@me.vt.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>> There is already a solution to do it ?<br>><br>> Sine the only way to write a DVD is in MythArchive, look in there - you<br>> will find a checkbox to erase a -rw or +rw disk before writing.<br>><br> I've got some extra-crappy DVD-RW that always need a --blank=full
<br>in order to get erased. The mythtranscode version doesn't seem to do<br>that, so I've so far had to do it by hand.<br></blockquote></div><br>You could edit the /usr/share/mythtv/mytharchive/scripts/mythburn.py file to add that support if needed.
<br><br><br>Here is the section you need to modify:<br><br>def BurnDVDISO():<br> write( "Burning ISO image to %s" % dvddrivepath)<br> checkCancelFlag()<br><br> if mediatype == DVD_RW and erasedvdrw == True:
<br> command = path_growisofs[0] + " -use-the-force-luke -Z " + dvddrivepath + \<br> " -dvd-video -V 'MythTV BurnDVD' " + os.path.join(getTempPath(),'dvd')<br> else:<br> command = path_growisofs[0] + " -Z " + dvddrivepath + \
<br> " -dvd-video -V 'MythTV BurnDVD' " + os.path.join(getTempPath(),'dvd')<br><br><br>John<br>