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/vodcatcher | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/vodcatcher')
| -rw-r--r-- | plugins/vodcatcher/plugin.sh | 55 | ||||
| -rw-r--r-- | plugins/vodcatcher/vodcatchersources.conf | 22 |
2 files changed, 77 insertions, 0 deletions
diff --git a/plugins/vodcatcher/plugin.sh b/plugins/vodcatcher/plugin.sh new file mode 100644 index 0000000..c7c310f --- /dev/null +++ b/plugins/vodcatcher/plugin.sh @@ -0,0 +1,55 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 03.03.2009 +# +# vdr-vodcatcher + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://www.e-tobi.net/blog/files/vdr-vodcatcher-0.2.1.tar.gz" +VERSION="vodcatcher-0.2.1" +LINK="vodcatcher" + +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 + patch_p1_plugin + + ## plugin specials - start ## + [ -f $DIR/vodcatchersources.conf ] && cp -f $DIR/vodcatchersources.conf $VDRCONFDIR/plugins + [ -d /var/cache/vdr-plugin-vodcatcher ] || mkdir -p /var/cache/vdr-plugin-vodcatcher + chown $VDRUSER:$VDRGROUP /var/cache/vdr-plugin-vodcatcher + ## 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/vodcatcher/vodcatchersources.conf b/plugins/vodcatcher/vodcatchersources.conf new file mode 100644 index 0000000..b64e8a1 --- /dev/null +++ b/plugins/vodcatcher/vodcatchersources.conf @@ -0,0 +1,22 @@ +# sources for vdr-vodcatcher + +# Die Sendung mit der Maus +FEED_URL=http://podcast.wdr.de/maus.xml + +# ZDF-Kram +FEED_URL=http://videocast.srtwist.net/ + +# Galacticast +FEED_URL=http://feeds.feedburner.com/galacticast + +# Quarks & Co +FEED_URL=http://podcast.wdr.de/quarks.xml + +# Computer Club 2 +FEED_URL=http://www.cczwei.de/rss_tvissues.php + +# Probot World of Amazing Action-Figure Adventure! +FEED_URL=http://www.probotproductions.com/vidcasts/ProbotVodcast.xml + +# Adventures of Thomas Brin +FEED_URL=http://podcasts.thomasbrin.com/BrinRSS |
