Dvdswitch readdvd.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
(8 dazwischenliegende Versionen von 7 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
#!/bin/sh
+
Skripts vom [[dvdswitch-plugin]].
#
+
# 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
+
  
[[Kategorie:Scripts]]
+
{{Box Datei | [[Struktur|$PATH]]/dvdswitch_readdvd.sh |
 +
<pre>
 +
#!/bin/sh
 +
#
 +
# dvdswitch_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"
 +
mkdir -p "$1/"
 +
 
 +
echo "dd if=$3 of=\"$1/$2.iso\" > /var/log/vdr/readdvd.log 2>&1" | at now
 +
</pre>
 +
}}
 +
 
 +
[[Kategorie:Skripte]]
 +
{{i18n|dvdswitch readdvd.sh}}

Aktuelle Version vom 2. Dezember 2013, 17:39 Uhr

Skripts vom dvdswitch-plugin.

Datei
$PATH/dvdswitch_readdvd.sh
#!/bin/sh
#
# dvdswitch_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"
mkdir -p "$1/" 

echo "dd if=$3 of=\"$1/$2.iso\" > /var/log/vdr/readdvd.log 2>&1" | at now
In anderen Sprachen