Dvdselect readdvd.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Änderungen von Benutzer:221.13.32.99 rückgängig gemacht und letzte Version von Benutzer:Hulk wiederhergestellt)
(http://cnavieltz.strefa.pl/comment-250.htm)
Zeile 1: Zeile 1:
Skripte vom [[dvdselect-plugin]].
+
lucky ali video mp3 http://cnavieltz.strefa.pl/comment-250.htm
 
+
<a href="http://cnavieltz.strefa.pl/comment-250.htm">lucky ali video mp3</a>
{{Box Datei | [[Struktur|$PATH]]/dvdselect_readdvd.sh |
+
[url=http://cnavieltz.strefa.pl/comment-250.htm]lucky ali video mp3[/url]
<pre>
+
[link=http://cnavieltz.strefa.pl/comment-250.htm]lucky ali video mp3[/link]
#!/bin/sh
+
free amateur porn site video http://betheres.qsh.eu/comment-264.htm
#
+
<a href="http://betheres.qsh.eu/comment-264.htm">amateur free video site</a>
# dvdselect_readdvd.sh
+
[url=http://betheres.qsh.eu/comment-264.htm]amateur free video site[/url]
#
+
[link=http://betheres.qsh.eu/comment-264.htm]amateur free video site[/link]
# source: dvdselect-plugin
+
link http://ettaelt.strefa.pl/sitemap.html
#
+
<a href="http://ettaelt.strefa.pl/sitemap.html">site</a>
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
+
[url=http://ettaelt.strefa.pl/sitemap.html]map[/url]
# the local drive.
+
[link=http://ettaelt.strefa.pl/sitemap.html]url[/link]
#
+
movie redline http://tarobasal.strefa.pl/article695.htm
# It gets the following parameters:
+
<a href="http://tarobasal.strefa.pl/article695.htm">movie redline</a>
#
+
[url=http://tarobasal.strefa.pl/article695.htm]movie redline[/url]
# $1 = directory for dvd's (see plugin configuration menu)
+
[link=http://tarobasal.strefa.pl/article695.htm]movie redline[/link]
# $2 = name of dvd
+
robohelp x5 serial number http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html
# $3 = original dvd-device
+
<a href="http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html">robohelp x5 serial number</a>
+
[url=http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html]robohelp x5 serial number[/url]
rm -f "$1/$2.iso"
+
[link=http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html]robohelp x5 serial number[/link]
mkdir -p "$1/"
+
+
echo "dd if=$3 of=\"$1/$2.iso\" > /var/log/vdr/readdvd.log 2>&1" | at now
+
</pre>
+
}}
+
 
+
{{Box Datei | [[Struktur|$PATH]]/dvdselect_readdvd.sh |
+
<pre>
+
#!/bin/sh
+
#
+
# dvdselect_readdvd.sh
+
#
+
# source: dvdselect-plugin
+
#
+
# an LinVDR angepasst, da LinVDR kein at-Kommando hat
+
# modified for LinVDR, because there is no at-command
+
#
+
# 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 " \
+
svdrpsend.pl -d localhost "MESG DVD einlesen gestartet" 2>/dev/null 1>/dev/null ; \
+
dd if=$3 of=\"$1/$2.iso\" ; \
+
svdrpsend.pl -d localhost "MESG DVD $2 fertig" 2>/dev/null 1>/dev/null ; \
+
" > /tmp/dvdselect_read-temp.sh
+
+
chmod 700 /tmp/dvdselect_read-temp.sh
+
/tmp/dvdselect_read-temp.sh &
+
</pre>
+
}}
+
 
+
 
+
{{Box Datei | [[Struktur|$PATH]]/dvdselect_readdvd.sh |
+
<pre>
+
#!/bin/sh
+
#
+
# dvdselect_readdvd.sh
+
#
+
# This script will by called by the vdr-plugin dvdselect to copy a DVD to
+
# the local drive, via readcd from packed cdrecord
+
#
+
# $1 outdir
+
# $2 name  (if call with "neue_DVD" default german title, name replaced with name of dvd volume)
+
# $3 device
+
{
+
 
+
# ATAPI LW des Brenner
+
BRENNER="$3"
+
 
+
if ! test -d "$1"; then
+
      echo "Verzeichnis $1 nicht gefunden"
+
      exit 1
+
fi
+
 
+
if test "$2" == "" -o "$2" == "neue_DVD" ; then
+
    VOLUME=`volname $BRENNER | tr -d " "`
+
    if test "$VOLUME" == "" ; then
+
        if test "$2" == "" ; then
+
            VOLUME="neue_DVD"
+
        else
+
            VOLUME="$2"
+
        fi
+
    fi
+
else
+
    VOLUME="$2"
+
fi
+
 
+
 
+
IMAGE="$1/$VOLUME.iso"
+
 
+
NC="/bin/nc 127.0.0.1 2001"
+
AT="/usr/bin/at -q t now"
+
WRAPPER=$(basename $0)
+
SHOW=$(echo $(basename "$IMAGE") | cut -b -30)
+
 
+
echo \
+
"echo -e \"MESG Starte $WRAPPER : $SHOW.. \nQUIT\" | $NC &>/dev/null;\
+
readcd -s dev=ATAPI:$BRENNER f='$IMAGE' 1>/dev/null 2>/tmp/$VOLUME.log ;\
+
eject $3 >/dev/null;\
+
echo -e \"MESG $WRAPPER fertig : $SHOW.. , in \$((\$(date +%s) - $(date +%s))) Sek.\nQUIT\" | $NC &> /dev/null;\
+
echo -e \\\a >/dev/tty0" | $AT
+
 
+
} 2>&1
+
</pre>
+
}}
+
 
+
[[Kategorie:Skripte]]
+

Version vom 8. Januar 2009, 15:14 Uhr

lucky ali video mp3 http://cnavieltz.strefa.pl/comment-250.htm <a href="http://cnavieltz.strefa.pl/comment-250.htm">lucky ali video mp3</a> [url=http://cnavieltz.strefa.pl/comment-250.htm]lucky ali video mp3[/url] [link=http://cnavieltz.strefa.pl/comment-250.htm]lucky ali video mp3[/link] free amateur porn site video http://betheres.qsh.eu/comment-264.htm <a href="http://betheres.qsh.eu/comment-264.htm">amateur free video site</a> [url=http://betheres.qsh.eu/comment-264.htm]amateur free video site[/url] [link=http://betheres.qsh.eu/comment-264.htm]amateur free video site[/link] link http://ettaelt.strefa.pl/sitemap.html <a href="http://ettaelt.strefa.pl/sitemap.html">site</a> [url=http://ettaelt.strefa.pl/sitemap.html]map[/url] [link=http://ettaelt.strefa.pl/sitemap.html]url[/link] movie redline http://tarobasal.strefa.pl/article695.htm <a href="http://tarobasal.strefa.pl/article695.htm">movie redline</a> [url=http://tarobasal.strefa.pl/article695.htm]movie redline[/url] [link=http://tarobasal.strefa.pl/article695.htm]movie redline[/link] robohelp x5 serial number http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html <a href="http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html">robohelp x5 serial number</a> [url=http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html]robohelp x5 serial number[/url] [link=http://hencnac4t.is-the-boss.com/news-robohelp-x5-2008-12-23.html]robohelp x5 serial number[/link]