3 # For DEBUG Output - can be left since logfiles are deleted when job finishes
6 # To make the script exit whenever a command fails (MUST NOT BE REMOVED)
9 # Some versions of growisofs refuse to start when run with sudo, and may
10 # misdetect this condition if vdr itself is started from a sudo session.
15 genisoimage
-V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
16 -graft-points $GRAFT_POINTS >"$ISO_FILE"
21 if [ $BURN_SPEED -gt 0 ]; then
22 SPEED
="-speed=$BURN_SPEED"
24 growisofs
-use-the-force-luke=tty
$SPEED -Z $DVD_DEVICE \
25 -V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
26 -graft-points $GRAFT_POINTS
30 genisoimage
-V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
31 -graft-points $GRAFT_POINTS |
tee "$ISO_FILE" > $ISO_PIPE
36 if [ $BURN_SPEED -gt 0 ]; then
37 SPEED
="-speed=$BURN_SPEED"
39 growisofs
-use-the-force-luke=tty
$SPEED -dvd-compat \
40 -Z $DVD_DEVICE=$ISO_PIPE
44 cp "$CONFIG_PATH/counters/standard" "$RECORDING_PATH/dvd.vdr"
48 ((DVD_ID
= `cat $CONFIG_PATH/counters/standard | sed "s/^0*//"` + 1))
49 printf "%04d\n" $DVD_ID > "$CONFIG_PATH/counters/standard"
53 echo "Usage: $0 {demux}"