summaryrefslogtreecommitdiff
path: root/plugins/arghdirector
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/arghdirector
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/arghdirector')
-rw-r--r--plugins/arghdirector/patches/arghdirector.diff11
-rw-r--r--plugins/arghdirector/patches/mainmenuentry.diff32
-rw-r--r--plugins/arghdirector/plugin.sh51
3 files changed, 94 insertions, 0 deletions
diff --git a/plugins/arghdirector/patches/arghdirector.diff b/plugins/arghdirector/patches/arghdirector.diff
new file mode 100644
index 0000000..95922d9
--- /dev/null
+++ b/plugins/arghdirector/patches/arghdirector.diff
@@ -0,0 +1,11 @@
+--- arghdirector.c~ 2008-01-09 19:43:01.000000000 +0100
++++ arghdirector.c 2008-01-09 19:45:12.000000000 +0100
+@@ -59,7 +59,7 @@
+ #if VDRVERSNUM < 10333
+ if(Channel->GetLinkChannels() != NULL && Channel->GetLinkChannels()->Count() > 1)
+ #else
+- if(Channel->LinkChannels() != NULL && Channel->LinkChannels()->Count() > 1)
++ if(Channel != NULL && Channel->LinkChannels() != NULL && Channel->LinkChannels()->Count() > 1)
+ #endif
+ if(parent && ChannelNumber != 0)
+ {
diff --git a/plugins/arghdirector/patches/mainmenuentry.diff b/plugins/arghdirector/patches/mainmenuentry.diff
new file mode 100644
index 0000000..1662216
--- /dev/null
+++ b/plugins/arghdirector/patches/mainmenuentry.diff
@@ -0,0 +1,32 @@
+--- i18n.c~ 2007-02-11 20:35:16.000000000 +0100
++++ i18n.c 2007-12-31 20:44:06.000000000 +0100
+@@ -9,6 +9,29 @@
+ #include "i18n.h"
+
+ const tI18nPhrase Phrases[] = {
++ { "arghDirector",
++ "Director",
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++ "",// TODO
++#if VDRVERSNUM && VDRVERSNUM >= 10313
++ "", // Eesti
++#if VDRVERSNUM >= 10316
++ "", // Dansk
++#endif
++#endif
++ },
+ { "Hide main menu entry",
+ "Hauptmenüeintrag verstecken",
+ "",// TODO
diff --git a/plugins/arghdirector/plugin.sh b/plugins/arghdirector/plugin.sh
new file mode 100644
index 0000000..f54e11b
--- /dev/null
+++ b/plugins/arghdirector/plugin.sh
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis)
+# von Marc Wernecke - www.zulu-entertainment.de
+# 29.01.2008
+#
+# vdr-director
+
+# defaults
+source ./../../x-vdr.conf
+source ./../../setup.conf
+source ./../../functions
+WEB="http://www.jwendel.de/vdr/vdr-arghdirector-0.2.6b.tgz"
+VERSION="arghdirector-0.2.6b"
+LINK="arghdirector"
+
+VAR=`basename $WEB`
+DIR=`pwd`
+
+# plugin entfernen
+function clean_plugin() {
+ cd $SOURCEDIR/VDR/PLUGINS/src
+ rm -rf $LINK*
+ rm -f $VDRLIBDIR/libvdr-$LINK*
+ 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
+
+ ## plugin specials - start ##
+
+ ## 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