Project

General

Profile

Feature #503 » burn-0.2.0-beta5-add_cdrecord.diff

Copperhead, 01/05/2011 07:26 PM

View differences:

burn-0.2.0-beta5.patched//vdrburn-dvd.sh 2011-01-05 17:22:27.481000033 +0100
if [ $BURN_SPEED -gt 0 ]; then
SPEED="-speed=$BURN_SPEED"
fi
growisofs -use-the-force-luke=tty $SPEED -dvd-compat -Z "$DVD_DEVICE" \
if cdrecord -version 2>&- | grep ProDVD > /dev/null; then
mkisofs -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" \
| cdrecord "dev=$DVD_DEVICE" driveropts=burnfree \
tsize=$(mkisofs -print-size "$DVDAUTHOR_PATH")s fs=10m $SPEED -
else
growisofs -use-the-force-luke=tty $SPEED -dvd-compat -Z "$DVD_DEVICE" \
-V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH"
fi
;;
pipeiso)
......
if [ $BURN_SPEED -gt 0 ]; then
SPEED="-speed=$BURN_SPEED"
fi
growisofs -use-the-force-luke=tty $SPEED -dvd-compat \
if cdrecord -version 2>&- | grep ProDVD > /dev/null; then
cdrecord "dev=$DVD_DEVICE" driveropts=burnfree $SPEED \
tsize=$(mkisofs -print-size "$ISO_PIPE")s fs=10m d"$ISO_PIPE"
else
growisofs -use-the-force-luke=tty $SPEED -dvd-compat \
-Z "$DVD_DEVICE=$ISO_PIPE"
fi
;;
*)
(2-2/3)