diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/pilot | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/pilot')
| -rw-r--r-- | plugins/pilot/patches/pilot-0.0.8_channelcheck.diff | 11 | ||||
| -rw-r--r-- | plugins/pilot/plugin.sh | 52 |
2 files changed, 63 insertions, 0 deletions
diff --git a/plugins/pilot/patches/pilot-0.0.8_channelcheck.diff b/plugins/pilot/patches/pilot-0.0.8_channelcheck.diff new file mode 100644 index 0000000..81b1997 --- /dev/null +++ b/plugins/pilot/patches/pilot-0.0.8_channelcheck.diff @@ -0,0 +1,11 @@ +--- pilotosd.c.orig 2006-05-02 23:33:11.000000000 +0200 ++++ pilotosd.c 2007-06-25 00:40:27.000000000 +0200 +@@ -632,7 +632,7 @@ + DrawMenu(0,2); + DisplayBitmap(); + cChannel *Channel = Channels.GetByNumber(PilotChannelNumber); +- if (Channel){ ++ if (Channel && Channel->Number() != cDevice::CurrentChannel()){ + cDevice::PrimaryDevice()->SwitchChannel(Channel, true); + } + } diff --git a/plugins/pilot/plugin.sh b/plugins/pilot/plugin.sh new file mode 100644 index 0000000..cd9d625 --- /dev/null +++ b/plugins/pilot/plugin.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 24.10.2007 +# +# vdr-pilot + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions +WEB="http://famillejacques.free.fr/vdr/pilot/vdr-pilot-0.0.9.tgz" +VERSION="pilot-0.0.9" +LINK="pilot" + +VAR=`basename $WEB` +DIR=`pwd` + +# plugin entfernen +function clean_plugin() { + cd $SOURCEDIR/VDR/PLUGINS/src + rm -rf $LINK + rm -rf $VERSION + rm -f $VDRLIBDIR/libvdr-$LINK.so* + 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 |
