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/pilotskin | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/pilotskin')
| -rw-r--r-- | plugins/pilotskin/patches/pilotskin-0.0.2_channelcheck.diff | 11 | ||||
| -rw-r--r-- | plugins/pilotskin/plugin.sh | 52 |
2 files changed, 63 insertions, 0 deletions
diff --git a/plugins/pilotskin/patches/pilotskin-0.0.2_channelcheck.diff b/plugins/pilotskin/patches/pilotskin-0.0.2_channelcheck.diff new file mode 100644 index 0000000..08fcefa --- /dev/null +++ b/plugins/pilotskin/patches/pilotskin-0.0.2_channelcheck.diff @@ -0,0 +1,11 @@ +--- pilotskinosd.c.orig 2006-05-02 23:33:11.000000000 +0200 ++++ pilotskinosd.c 2007-06-25 00:40:27.000000000 +0200 +@@ -453,7 +453,7 @@ + void cPilotskinOsd::CursorOK() { + DrawMenu(0,2); + cChannel *Channel = Channels.GetByNumber(PilotChannelNumber); +- if (Channel){ ++ if (Channel && Channel->Number() != cDevice::CurrentChannel()){ + cDevice::PrimaryDevice()->SwitchChannel(Channel, true); + } + } diff --git a/plugins/pilotskin/plugin.sh b/plugins/pilotskin/plugin.sh new file mode 100644 index 0000000..6f1900d --- /dev/null +++ b/plugins/pilotskin/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 +# 09.01.2009 +# +# vdr-pilotskin + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://www.zulu-entertainment.de/files/vdr-pilotskin/vdr-pilotskin-0.0.4.tgz" +VERSION="pilotskin-0.0.4" +LINK="pilotskin" + +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 |
