Dvdselect writedvd.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 13: Zeile 13:
 
   
 
   
 
  echo "dvdrecord -eject -v dev=0,0,0 speed=4 -dao $1" | at now
 
  echo "dvdrecord -eject -v dev=0,0,0 speed=4 -dao $1" | at now
 
Source: http://www.hoochvdr.info
 
  
 
  #!/bin/sh
 
  #!/bin/sh
 +
#
 +
# source: http://www.hoochvdr.info
 
  #
 
  #
 
  # $1 = filename of the iso file
 
  # $1 = filename of the iso file

Version vom 7. Januar 2005, 00:46 Uhr

#!/bin/sh
#
# dvdselect_writedvd.sh - v.0.1
#
# source: dvdselect-plugin
#
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
# write a dvd iso image.
#
# It gets the following parameter:
#
# $1 = filename of the iso file

echo "dvdrecord -eject -v dev=0,0,0 speed=4 -dao $1" | at now
#!/bin/sh
#
# source: http://www.hoochvdr.info
#
# $1 = filename of the iso file

DVD_RECORDCMD="growisofs"
DVDPLUS_RECORD_OPTS="-dvd-compat -Z"
DVDWRITER=/dev/hdc

echo " \
unset SUDO_COMMAND ; \
svdrpsend.pl -d localhost "MESG DVD burn initiated" 2>/dev/null 1>/dev/null ; \
svdrpsend.pl -d localhost "QUIT" 2>/dev/null 1>/dev/null ; \
exec $DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $DVDWRITER=$1 ; \
svdrpsend.pl -d localhost "MESG DVD burn completed" 2>/dev/null 1>/dev/null ; \
svdrpsend.pl -d localhost "QUIT" 2>/dev/null 1>/dev/null ; \
"| at now