summaryrefslogtreecommitdiff
path: root/plugins/vdrrip
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/vdrrip
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/vdrrip')
-rw-r--r--plugins/vdrrip/plugin.sh68
-rwxr-xr-xplugins/vdrrip/queuehandler.sh.conf71
2 files changed, 139 insertions, 0 deletions
diff --git a/plugins/vdrrip/plugin.sh b/plugins/vdrrip/plugin.sh
new file mode 100644
index 0000000..046162d
--- /dev/null
+++ b/plugins/vdrrip/plugin.sh
@@ -0,0 +1,68 @@
+#!/bin/sh
+
+# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis)
+# von Marc Wernecke - www.zulu-entertainment.de
+# 10.03.2009
+#
+# vdr-vdrrip
+
+# defaults
+source ./../../x-vdr.conf
+source ./../../setup.conf
+source ./../../functions
+
+WEB="http://www.zulu-entertainment.de/files/vdr-vdrrip/vdr-vdrrip-0.3.0-patched.tgz"
+VERSION="vdrrip-0.3.0-patched"
+LINK="vdrrip"
+
+VAR=`basename $WEB`
+DIR=`pwd`
+
+# plugin entfernen
+function clean_plugin() {
+ cd $SOURCEDIR/VDR/PLUGINS/src
+ rm -rf $LINK*
+ rm -f $VDRLIBDIR/libvdr-$LINK*
+ rm -f $VDRSCRIPTDIR/queuehandler.sh
+ rm -f $VDRSCRIPTDIR/queuehandler.sh.conf
+ log "cleaning $LINK"
+}
+
+# plugin installieren
+function install_plugin() {
+ download_plugin
+ extract_plugin
+ cd $SOURCEDIR/VDR/PLUGINS/src
+ rm -f $LINK
+ ln -vfs $VERSION $LINK
+ patch_plugin
+ patch_p1_plugin
+
+ ## plugin specials - start ##
+ if [ -f $DIR/queuehandler.sh ]; then
+ cp -f $DIR/queuehandler.sh $VDRSCRIPTDIR
+ else
+ cp -f $SOURCEDIR/VDR/PLUGINS/src/vdrrip/scripts/queuehandler.sh $VDRSCRIPTDIR
+ fi
+ if [ -f $DIR/queuehandler.sh.conf ]; then
+ cp -f $DIR/queuehandler.sh.conf $VDRSCRIPTDIR
+ else
+ cp -f $SOURCEDIR/VDR/PLUGINS/src/vdrrip/scripts/queuehandler.sh.conf $VDRSCRIPTDIR
+ fi
+
+ chmod 0744 $VDRSCRIPTDIR/queuehandler.sh
+ chown $VDRUSER.$VDRGROUP $VDRSCRIPTDIR/queuehandler.sh
+ chown $VDRUSER.$VDRGROUP $VDRSCRIPTDIR/queuehandler.sh.conf
+ ## plugin specials - ende ##
+}
+
+# plugin commands
+if [ $# \> 0 ]; then
+ cmd=$1
+ cmd_plugin
+else
+ install_plugin
+ log "install-plugin fuer $VERSION ist fertig"
+fi
+
+exit 0
diff --git a/plugins/vdrrip/queuehandler.sh.conf b/plugins/vdrrip/queuehandler.sh.conf
new file mode 100755
index 0000000..5699dc1
--- /dev/null
+++ b/plugins/vdrrip/queuehandler.sh.conf
@@ -0,0 +1,71 @@
+#
+# queuehandler.sh.conf:
+# this is the configuration-file of queuehandler.sh
+#
+ qh_conf_ver="0.3.0"
+
+ # set this to 1 to get debug-informations in the syslog and
+ # exit-messages of the queuehandler on the osd:
+ debug=0
+
+ # set this to 1 to see stdout while the queuehandler is executing an
+ # external programm
+ stdout=0
+
+ # resulting length (in seconds) of movies if the queuehandler is
+ # started in the preview-mode
+ previewlength=60
+
+ # check for new entries in queuefile (in seconds)
+ check=30
+
+ # check for unlocked queuefile (in seconds)
+ lock=5
+
+
+
+ # if you have set the setup-option "rename after encodings"
+ # to yes, this string will be appended to the recording-name
+ # after the movie is encoded.
+ append_string="_-_CONVERTED"
+
+
+
+ # this pathes are used for the encoding of vdr-recordings & dvd's.
+ # they _must_ point to an unpatched mencoder & mplayer
+ mencoder="/usr/bin/mencoder"
+ mplayer="/usr/bin/mplayer"
+
+ # this pathes are only used for encoding a vdr-recording with
+ # selected ac3-stream.
+ # they _must_ point to an ac3-patched mencoder & mplayer.
+ # if you don't use this feature you should deactivate the option
+ # AC3 Support (MPlayer-patch inst.) in the plugins setup-menu.
+ mencoder_ac3="/usr/bin/mencoder"
+ mplayer_ac3="/usr/bin/mplayer"
+
+
+ # this string is added to the mencoder-command in the
+ # queuehandler
+ useropts=""
+
+
+
+ # optional tools (only needed for ogm/matroska-container)
+ vdrsync="/usr/bin/vdrsync.pl"
+ ffmpeg="/usr/bin/ffmpeg"
+ ogmmerge="/usr/bin/ogmmerge"
+ ogmsplit="/usr/bin/ogmsplit"
+ mkvmerge="/usr/bin/mkvmerge"
+
+
+
+ # This (optional) command is used to display some informations
+ # from the queuehandler on your tv.
+ # You have to specify only $svdrpsend or $netcat.
+ # $netcat is only recommend, if perl isn't installed.
+ svdrpsend="/usr/bin/svdrpsend.pl"
+ #netcat=""
+
+ vdrhostname="localhost"
+