Dvdswitch readdvd.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
#!/bin/sh
+
Scripts vom [[dvdswitch-plugin]].
#
+
 
# dvdselect_readdvd.sh
+
{{Box Datei | $PATH/dvdswitch_writedvd.sh |
#
+
<pre>
# source: dvdselect-plugin
+
#!/bin/sh
#
+
#
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
+
# dvdselect_readdvd.sh
# the local drive.
+
#
#
+
# source: dvdselect-plugin
# It gets the following parameters:
+
#
#
+
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
# $1 = directory for dvd's (see plugin configuration menu)
+
# the local drive.
# $2 = name of dvd
+
#
# $3 = original dvd-device
+
# It gets the following parameters:
 +
#
 +
# $1 = directory for dvd's (see plugin configuration menu)
 +
# $2 = name of dvd
 +
# $3 = original dvd-device
 +
 
 +
rm -f $1/$2.iso
 
   
 
   
rm -f $1/$2.iso
+
echo "dd if=$3 of=$1/$2.iso > /var/log/vdr/readdvd.log 2>&1" | at now
 
+
</pre>
echo "dd if=$3 of=$1/$2.iso > /var/log/vdr/readdvd.log 2>&1" | at now
+
}}
  
 
[[Kategorie:Scripts]]
 
[[Kategorie:Scripts]]

Version vom 2. November 2005, 23:20 Uhr

Scripts vom dvdswitch-plugin.

Datei
$PATH/dvdswitch_writedvd.sh
#!/bin/sh
#
# dvdselect_readdvd.sh
#
# source: dvdselect-plugin
#
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
# the local drive.
#
# It gets the following parameters:
#
# $1 = directory for dvd's (see plugin configuration menu)
# $2 = name of dvd
# $3 = original dvd-device

rm -f $1/$2.iso
 
echo "dd if=$3 of=$1/$2.iso > /var/log/vdr/readdvd.log 2>&1" | at now