summaryrefslogtreecommitdiff
path: root/plugins/epgsearch
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/epgsearch
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/epgsearch')
-rw-r--r--plugins/epgsearch/epgsearchmenu.conf42
-rw-r--r--plugins/epgsearch/epgsearchmenu_graphtft.conf42
-rw-r--r--plugins/epgsearch/plugin.sh69
3 files changed, 153 insertions, 0 deletions
diff --git a/plugins/epgsearch/epgsearchmenu.conf b/plugins/epgsearch/epgsearchmenu.conf
new file mode 100644
index 0000000..a213dab
--- /dev/null
+++ b/plugins/epgsearch/epgsearchmenu.conf
@@ -0,0 +1,42 @@
+#########################################################
+# sample file for epgsearchmenu.conf
+#
+# The following variables exist:
+#
+# %time% - start time in format HH:MM
+# %date% - start date in format TT.MM.YY
+# %datesh% - start date in format TT.MM.
+# %time_w% - weekday name
+# %time_d% - start day in format TT
+# %title% - title
+# %subtitle% - subtitle
+# %t_status% - timer status ('T', 't', 'R')
+# %v_status% - VPS status
+# %r_status% - running status
+# %status% - complete status, the same as
+# '%t_status%%v_status%%r_status%'
+# %colon% - the sign ':'
+# %<epg-category>% - a value from the extended EPG categories, specified in
+# epgsearchcats.conf, like %genre% or %category%
+#
+# for the 'Whats on...' menus there is also:
+#
+# %chnr% - channel number
+# %chsh% - the short channel name
+# %chlng% - the 'normal' channel name
+# %progr% - graphical progress bar
+# %progrT2S% - progress bar in text2skin style
+#
+#########################################################
+
+MenuWhatsOnNow=%chsh%:13|%progrT2S%:6| %t_status%:3|%title% ~ %subtitle%:35
+MenuWhatsOnNext=%chsh%:13| %time%:6| %t_status%:3|%title% ~ %subtitle%:35
+MenuWhatsOnElse=%chsh%:13| %time%:6| %t_status%:3|%title% ~ %subtitle%:35
+#MenuSchedule=%time% %t_status%:8|%title% ~ %subtitle%:35
+#MenuSearchResults=%chsh%:13|%datesh%:6|%time%:6|%t_status%:2|%title% ~ %subtitle%:35
+WarEagleIcons=1
+
+
+
+
+
diff --git a/plugins/epgsearch/epgsearchmenu_graphtft.conf b/plugins/epgsearch/epgsearchmenu_graphtft.conf
new file mode 100644
index 0000000..ec97607
--- /dev/null
+++ b/plugins/epgsearch/epgsearchmenu_graphtft.conf
@@ -0,0 +1,42 @@
+#########################################################
+# sample file for epgsearchmenu.conf
+#
+# The following variables exist:
+#
+# %time% - start time in format HH:MM
+# %date% - start date in format TT.MM.YY
+# %datesh% - start date in format TT.MM.
+# %time_w% - weekday name
+# %time_d% - start day in format TT
+# %title% - title
+# %subtitle% - subtitle
+# %t_status% - timer status ('T', 't', 'R')
+# %v_status% - VPS status
+# %r_status% - running status
+# %status% - complete status, the same as
+# '%t_status%%v_status%%r_status%'
+# %colon% - the sign ':'
+# %<epg-category>% - a value from the extended EPG categories, specified in
+# epgsearchcats.conf, like %genre% or %category%
+#
+# for the 'Whats on...' menus there is also:
+#
+# %chnr% - channel number
+# %chsh% - the short channel name
+# %chlng% - the 'normal' channel name
+# %progr% - graphical progress bar
+# %progrT2S% - progress bar in text2skin style
+#
+#########################################################
+
+MenuWhatsOnNow=%chnr%:4|%chsh%:13| %time%:6|%progrt2s%:5| %t_status%:2| %title% ~ %subtitle%:35
+MenuWhatsOnNext=%chnr%:4|%chsh%:13| %time%:6|%progrt2s%:5| %t_status%:2| %title% ~ %subtitle%:35
+MenuWhatsOnElse=%chnr%:4|%chsh%:13| %time%:6| %t_status%:2| %title% ~ %subtitle%:35
+#MenuSchedule=%time% %t_status%:8| %title% ~ %subtitle%:35
+#MenuSearchResults=%chsh%:12|%datesh%:6|%time%:6|%t_status%:2|%title% ~ %subtitle%:35
+WarEagleIcons=1
+
+
+
+
+
diff --git a/plugins/epgsearch/plugin.sh b/plugins/epgsearch/plugin.sh
new file mode 100644
index 0000000..d68300a
--- /dev/null
+++ b/plugins/epgsearch/plugin.sh
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis)
+# von Marc Wernecke - www.zulu-entertainment.de
+# 10.01.2009
+#
+# vdr-epgsearch
+
+# defaults
+source ./../../x-vdr.conf
+source ./../../setup.conf
+source ./../../functions
+
+WEB="http://winni.vdr-developer.org/epgsearch/downloads/beta/vdr-epgsearch-0.9.25.beta7.tgz"
+VERSION="epgsearch-0.9.25.beta7"
+LINK="epgsearch"
+
+VAR=`basename $WEB`
+DIR=`pwd`
+
+# plugin entfernen
+function clean_plugin() {
+ cd $SOURCEDIR/VDR/PLUGINS/src
+ rm -rf $LINK*
+ rm -f $VDRLIBDIR/libvdr-epgsearch
+ rm -f $VDRLIBDIR/libvdr-conflictcheckonly
+ rm -f $VDRLIBDIR/libvdr-epgsearchonly
+ rm -f $VDRLIBDIR/libvdr-quickepgsearch
+ 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 ##
+ [ ! -d $VDRCONFDIR/plugins/epgsearch ] && mkdir -p $VDRCONFDIR/plugins/epgsearch
+
+ cp -f $SOURCEDIR/VDR/PLUGINS/src/epgsearch/conf/epgsearchconflmail.templ $VDRCONFDIR/plugins/epgsearch
+ cp -f $SOURCEDIR/VDR/PLUGINS/src/epgsearch/conf/epgsearchupdmail.templ $VDRCONFDIR/plugins/epgsearch
+ cp -f $SOURCEDIR/VDR/PLUGINS/src/epgsearch/scripts/sendEmail.pl $VDRBINDIR
+ chmod 0755 $VDRBINDIR/sendEmail.pl
+
+ if [ "$graphtft" = "on" ] && [ -f $DIR/epgsearchmenu_graphtft.conf ] && [ ! -f $VDRCONFDIR/plugins/epgsearch/epgsearchmenu.conf ]; then
+ cp -f $DIR/epgsearchmenu_graphtft.conf $VDRCONFDIR/plugins/epgsearch/epgsearchmenu.conf
+ else
+ cp -f $DIR/epgsearchmenu.conf $VDRCONFDIR/plugins/epgsearch
+ fi
+
+ chown -R $VDRUSER:$VDRGROUP $VDRCONFDIR/plugins/epgsearch
+ ## 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