<br><br><div><span class="gmail_quote">On 12/2/06, <b class="gmail_sendername">Cory Papenfuss</b> &lt;<a href="mailto:papenfuss@me.vt.edu">papenfuss@me.vt.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&gt; There is already a solution to do it ?<br>&gt;<br>&gt; Sine the only way to write a DVD is in MythArchive, look in there - you<br>&gt; will find a checkbox to erase a -rw or +rw disk before writing.<br>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I've got some extra-crappy DVD-RW that always need a --blank=full
<br>in order to get erased.&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp; write( &quot;Burning ISO image to %s&quot; % dvddrivepath)<br>&nbsp;&nbsp;&nbsp; checkCancelFlag()<br><br>&nbsp;&nbsp;&nbsp; if mediatype == DVD_RW and erasedvdrw == True:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command = path_growisofs[0] + &quot; -use-the-force-luke -Z &quot; + dvddrivepath + \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot; -dvd-video -V 'MythTV BurnDVD' &quot; + os.path.join(getTempPath(),'dvd')<br>&nbsp;&nbsp;&nbsp; else:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command = path_growisofs[0] + &quot; -Z &quot; + dvddrivepath + \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot; -dvd-video -V 'MythTV BurnDVD' &quot; + os.path.join(getTempPath(),'dvd')<br><br><br>John<br>