Dvdswitch writedvd.sh

From VDR Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

See dvdswitch-plugin.

File
$PATH/dvdswitch_writedvd.sh
#!/bin/sh
#
# source: [URL]http://www.hoochvdr.info[/URL]
# angepasst durch Brennivin
#
# Angepasst für LinVDR 0.7, da es kein at-Kommando gibt
# Modified for LinVDR 0.7, because there is no at-command available
#
# $1 = filename of the iso file
 
DVD_RECORDCMD="growisofs"
DVDPLUS_RECORD_OPTS=" -use-the-force-luke=tty -dvd-compat -Z"
DVDWRITER=/dev/hdc
LOG="> /var/log/brennen.log 2>&1"
 
echo " \
svdrpsend.pl -d localhost "MESG DVD brennen gestartet" 2>/dev/null 1>/dev/null ; \
$DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $DVDWRITER='$1' $LOG; \
svdrpsend.pl -d localhost "MESG DVD fertig" 2>/dev/null 1>/dev/null ; \
" > /tmp/dvdselect-burn-temp.sh
 
chmod 700 /tmp/dvdselect-burn-temp.sh


/tmp/dvdselect-burn-temp.sh &


You may also use the Dvdselect_writedvd.sh for dvdswitch.