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/skinelchi | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/skinelchi')
| -rw-r--r-- | plugins/skinelchi/patches/skinelchi-0.2.0_vdr173.diff | 31 | ||||
| -rw-r--r-- | plugins/skinelchi/plugin.sh | 58 | ||||
| -rw-r--r-- | plugins/skinelchi/skinelchi-0.2.0-alpha3_no-avards.diff | 11 |
3 files changed, 100 insertions, 0 deletions
diff --git a/plugins/skinelchi/patches/skinelchi-0.2.0_vdr173.diff b/plugins/skinelchi/patches/skinelchi-0.2.0_vdr173.diff new file mode 100644 index 0000000..27b4e6f --- /dev/null +++ b/plugins/skinelchi/patches/skinelchi-0.2.0_vdr173.diff @@ -0,0 +1,31 @@ +--- DisplayMenu.c.orig 2008-11-22 18:16:40.000000000 +0100 ++++ DisplayMenu.c 2009-03-06 00:30:46.000000000 +0100 +@@ -977,9 +977,16 @@ void cSkinElchiDisplayMenu::SetRecording + recsize = filesize[i-1]; + + if (hasMarks && index) { ++#if VDRVERSNUM >= 10703 ++ uint16_t FileNumber; ++ off_t FileOffset; ++ int Length; ++ bool PictureType; ++#else + uchar FileNumber; + int FileOffset, Length; + uchar PictureType; ++#endif + + bool cutin = true; + cMark *mark = marks.First(); +@@ -1029,7 +1036,11 @@ void cSkinElchiDisplayMenu::SetRecording + trVDR("Lifetime"), Recording->lifetime); + + if (lastIndex) ++#if VDRVERSNUM >= 10703 ++ text = cString::sprintf("%s%s: %.2f MBit/s (Video+Audio)\n", (const char *)text, tr("est. bit-rate"), (float)recsize/lastIndex*DEFAULTFRAMESPERSECOND*8/MEGABYTE(1)); ++#else + text = cString::sprintf("%s%s: %.2f MBit/s (Video+Audio)\n", (const char *)text, tr("est. bit-rate"), (float)recsize/lastIndex*FRAMESPERSEC*8/MEGABYTE(1)); ++#endif + + const cComponents *Components = Info->Components(); + if (Components) { diff --git a/plugins/skinelchi/plugin.sh b/plugins/skinelchi/plugin.sh new file mode 100644 index 0000000..846b762 --- /dev/null +++ b/plugins/skinelchi/plugin.sh @@ -0,0 +1,58 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 05.03.2009 +# +# vdr-skinelchi + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://firefly.vdr-developer.org/skinelchi/vdr-skinelchi-0.2.0.tar.bz2" +VERSION="skinelchi-0.2.0" +LINK="skinelchi" + +VAR=`basename $WEB` +DIR=`pwd` + +avardspatch="skinelchi-0.2.0-alpha3_no-avards.diff" + +# 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 ## + if [ "$avards" != "on" ] && [ -f "$DIR/$avardspatch" ]; then + cd "$SOURCEDIR/VDR/PLUGINS/src/$LINK" + echo "apply patch $avardspatch" + patch < $DIR/$avardspatch + fi + ## 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/skinelchi/skinelchi-0.2.0-alpha3_no-avards.diff b/plugins/skinelchi/skinelchi-0.2.0-alpha3_no-avards.diff new file mode 100644 index 0000000..dbeea8b --- /dev/null +++ b/plugins/skinelchi/skinelchi-0.2.0-alpha3_no-avards.diff @@ -0,0 +1,11 @@ +--- Makefile~ 2008-04-06 11:43:00.000000000 +0200 ++++ Makefile 2008-04-17 23:32:23.000000000 +0200 +@@ -21,7 +21,7 @@ + #SKINELCHI_DEBUG = 1 # for syslog commandline-options, thread in DisplayMenu.c, screenshot-display of video-window, epgimages, and several calls + #uncomment DEBUG only when you really need it -> many log-entrys will be created + +-SKINELCHI_USE_AVARDS_PLUGIN = 1 # use Avards plugin for video info ++#SKINELCHI_USE_AVARDS_PLUGIN = 1 # use Avards plugin for video info + SKINELCHI_USE_EPGSEARCH_PLUGIN = 1 # use EPGSearch plugin for time conflict checking + #SKINELCHI_USE_MAILBOX_PLUGIN = 1 # use Mailbox plugin to show mail symbol if mail is available + |
