From 7c50483a24f3972c6de42dbd9b8d7dfdbd9f82c9 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Fri, 21 Aug 2009 22:16:31 -0700 Subject: mythappletrailers:Loading . . . --- abs/extra-testing/mythappletrailers/PKGBUILD | 6 +- .../mythappletrailers/appletrailer.xml | 250 ++++++++++----------- abs/extra-testing/mythappletrailers/loading.sh | 2 + .../mythappletrailers/myth_trailers_grabber | 2 +- 4 files changed, 132 insertions(+), 128 deletions(-) create mode 100755 abs/extra-testing/mythappletrailers/loading.sh diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD index 87f3049..7cb7f7a 100644 --- a/abs/extra-testing/mythappletrailers/PKGBUILD +++ b/abs/extra-testing/mythappletrailers/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mythappletrailers pkgver=0.04.3 -pkgrel=28 +pkgrel=29 pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers." arch=('i686' 'x86_64') license=('GPL2') @@ -11,7 +11,7 @@ url="http://www.mythtv.org/wiki/index.php/Myth_Apple_Trailers" depends=('php' 'mythtv' 'mplayer-wrapper') install=mythappletrailers.install source=('myth_trailers_grabber' 'appletrailer.xml' - 'trailers') + 'trailers' 'loading.sh') build() { mkdir -p $startdir/pkg/usr/bin @@ -22,6 +22,8 @@ build() { chown 1000:1000 $startdir/pkg/home/mythtv/appletrailer.xml chmod 755 trailers chmod 755 myth_trailers_grabber + chmod 755 loading.sh cp myth_trailers_grabber $startdir/pkg/usr/bin/ + cp loading.sh $startdir/pkg/usr/bin/ cp trailers $startdir/pkg/etc/cron.daily/ } diff --git a/abs/extra-testing/mythappletrailers/appletrailer.xml b/abs/extra-testing/mythappletrailers/appletrailer.xml index 5ab84a7..11f5f9d 100644 --- a/abs/extra-testing/mythappletrailers/appletrailer.xml +++ b/abs/extra-testing/mythappletrailers/appletrailer.xml @@ -2,751 +2,751 @@ diff --git a/abs/extra-testing/mythappletrailers/loading.sh b/abs/extra-testing/mythappletrailers/loading.sh new file mode 100755 index 0000000..d1ef680 --- /dev/null +++ b/abs/extra-testing/mythappletrailers/loading.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo -e "Loading . . . " | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 10 -A centre diff --git a/abs/extra-testing/mythappletrailers/myth_trailers_grabber b/abs/extra-testing/mythappletrailers/myth_trailers_grabber index 8743840..ae32e75 100755 --- a/abs/extra-testing/mythappletrailers/myth_trailers_grabber +++ b/abs/extra-testing/mythappletrailers/myth_trailers_grabber @@ -30,7 +30,7 @@ // CONFIGURATION // command to use when streaming content from the internet - cache 50% before displaying and use 32MB of memory -$STREAMING_EXEC_CMD = 'mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000'; +$STREAMING_EXEC_CMD = 'loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000'; $APPLE_FEED = 'http://www.apple.com/trailers/home/xml/current.xml'; /************************************************************************/ // Shouldn't Need To modify anything beyond here -- cgit v0.12