summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythappletrailers
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/mythappletrailers')
-rw-r--r--abs/extra-testing/mythappletrailers/PKGBUILD35
-rw-r--r--abs/extra-testing/mythappletrailers/appletrailer.xml602
-rw-r--r--abs/extra-testing/mythappletrailers/fix_aple_url.sh3
-rwxr-xr-xabs/extra-testing/mythappletrailers/loading.sh12
-rwxr-xr-xabs/extra-testing/mythappletrailers/myth_trailers_grabber214
-rw-r--r--abs/extra-testing/mythappletrailers/mythappletrailers.install37
-rwxr-xr-xabs/extra-testing/mythappletrailers/trailers2
7 files changed, 0 insertions, 905 deletions
diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD
deleted file mode 100644
index 2f36a4d..0000000
--- a/abs/extra-testing/mythappletrailers/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
-# Maintainer: Cecil Watson<knoppmyth@gmail.com>
-
-pkgname=mythappletrailers
-pkgver=0.04.3
-pkgrel=41
-pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers."
-arch=('i686' 'x86_64')
-license=('GPL2')
-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' 'loading.sh' 'fix_aple_url.sh')
-
-build() {
- mkdir -p $startdir/pkg/usr/bin
- mkdir -p $startdir/pkg/etc/cron.daily
- mkdir -p $startdir/pkg/home/mythtv/
- mkdir -p $startdir/pkg/usr/share/mythtv/
- cp appletrailer.xml $startdir/pkg/home/mythtv/appletrailer.xml
- 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/
- install -m755 $srcdir/fix_aple_url.sh $pkgdir/usr/bin
-}
-md5sums=('336e68953d0e1e8a0c7a4990f8d43a2b'
- 'c7da92600afe2a3b1f564764500315a0'
- '5fdd4aa17b9c1e77b272437ae42a1827'
- 'ece3c5f8a605b6e2270c6f7671705631'
- 'a2349f844e47fd95a672739177ca44ff')
diff --git a/abs/extra-testing/mythappletrailers/appletrailer.xml b/abs/extra-testing/mythappletrailers/appletrailer.xml
deleted file mode 100644
index 9aa19f5..0000000
--- a/abs/extra-testing/mythappletrailers/appletrailer.xml
+++ /dev/null
@@ -1,602 +0,0 @@
-<mythmenu name="TRAILERS">
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Morning Glory</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/morningglory/morningglory-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Scott Pilgrim vs. The World</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/scottpilgrim/scottpilgrim-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Adjustment Bureau</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/adjustmentbureau/adjustmentbureau-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Grease Sing-A-Long</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/greasesingalong/greasesingalong-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Solitary Man</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/solitaryman/solitaryman-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Racing Dreams</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/racingdreams/racingdreams-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Joan Rivers: A Piece of Work</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/joanriversapieceofwork/joanriversapieceofwork-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Killer Inside Me</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/ifc_films/killerinsideme/killerinsideme-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>You Again</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/youagain/youagain-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Love Ranch</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/loveranch/loveranch-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Charlie St. Cloud</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/charliestcloud/charliestcloud-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Step Up 3D</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/touchstone/stepup3d/stepup3d-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Secretariat</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/secretariat/secretariat-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>African Cats</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/africancats/africancats-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Nowhere Boy</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/nowhereboy/nowhereboy-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Jonah Hex</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/jonahhex/jonahhex-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Splice</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/splice/splice-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Winter's Bone</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/wintersbone/wintersbone-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Super 8</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/super8/super8-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Piranha 3D</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/piranha3d/piranha3d-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Gangster Paradise: Jerusalema</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/gangsterparadise/gangsterparadise-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Waiting for Superman</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount_vantage/waitingforsuperman/waitingforsuperman-tlr1a_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Survival of the Dead</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/survivalofthedead/survivalofthedead-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Countdown to Zero</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/countdowntozero/countdowntozero-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Nanny McPhee Returns</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/nannymcpheereturns/nannymcpheereturns-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>I Spit On Your Grave</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/ispitonyourgrave/ispitonyourgrave-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Buried</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/buried/buried-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Lottery Ticket</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/lotteryticket/lotteryticket-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Get Low</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/getlow/getlow-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Princess Kaiulani</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/princesskaiulani/princesskaiulani-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Twilight Saga: Eclipse</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/twilightsagaeclipse/twilightsagaeclipse-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>8: The Mormon Proposition</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/8themormonproposition/8themormonproposition_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Predators</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/predators/predators-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Acts of Violence</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/actsofviolence/actsofviolence-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Disappearance of Alice Creed</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/thedisappearanceofalicecreed/disappearanceofalicecreed-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Expendables</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/theexpendables/expendables-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>TiMER</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/timer/timer-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Paper Man</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/paperman/paperman-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Holy Rollers</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/holyrollers/holyrollers-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Ondine</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/ondine/ondine-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>DCI 2010: The Countdown</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/dci2010thecountdown/dcicountdown-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Other Guys</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/theotherguys/theotherguys-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Kids Are All Right</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/focus_features/thekidsareallright/kidsarealright-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Dinner for Schmucks</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/dinnerforschmucks/dinnerforschmucks-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Micmacs</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/micmacs/micmacs-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Coco Chanel and Igor Stravinsky</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/cocoandigor/cocoigor-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Casino Jack and the United States of Money</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/casinojack/casinojack-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>I Am Love</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/iamlove/iamlove-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Mother and Child</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/motherandchild/motherandchild-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Just Wright</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox_searchlight/justwright/justwright-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>In My Sleep</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/inmysleep/inmysleep_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>My Girlfriend's Boyfriend</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/mygirlfriendsboyfriend/mygirlfriendsboyfriend-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Wild Grass</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/wildgrass/wildgrass-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Eat Pray Love</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/eatpraylove/eatpraylove-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Secret In Their Eyes</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/thesecretintheireyes/thesecretintheireyes-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Switch</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/miramax/theswitch/theswitch-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Harry Brown</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/harrybrown/harrybrown-tlr1a_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Please Give</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/pleasegive/pleasegive-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Touching Home</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/touchinghome/touchinghome-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Hey Hey It's Esther Blueburger </text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/heyheyitsestherblueburger/heyhey-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Good Heart</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/thegoodheart/thegoodheart-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Killers</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/killers/killers-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Get Him To The Greek</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/gethimtothegreek/gethimtothegreek-tlr_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The A-Team</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/theateam/ateam-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Alice In Wonderland</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/aliceinwonderland/aliceinwonderland-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Avatar</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/avatar/avatar-tlrf_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Babies</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/focus_features/babies/babies-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Back-up Plan</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/thebackupplan/backupplan-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Beastly</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/beastly/beastly-tlr1b_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Cats and Dogs: The Revenge of Kitty Galore 3D</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/catsanddogs2/catsanddogs2-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Cyrus</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox_searchlight/cyrus/cyrus-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Date Night</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/datenight/datenight-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Despicable Me</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/despicableme/despicableme-tlr5i_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Furry Vengeance</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/furryvengeance/furryvengeance-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Grown Ups</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/grownups/grownups-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Hot Tub Time Machine</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/mgm/hottubtimemachine/hottubtimemachine-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>How To Train Your Dragon</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/dreamworks/howtotrainyourdragon/howtotrainyourdragon-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Hubble 3D</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/imax/hubble3d/hubble3d-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Inception</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/inception/inception-tlr3_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Iron Man 2</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/ironman2/ironman2-34rgrwt9-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Karate Kid</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/karatekid/karatekid-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Knight and Day</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/knightandday/knightandday-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Last Airbender</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/thelastairbender/lastairbender-tlr3_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Letters To Juliet</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/letterstojuliet/letterstojuliet-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Losers</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/thelosers/thelosers-tlr1b_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>MacGruber</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/macgruber/macgruber-tlr4_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Multiple Sarcasms</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/multiplesarcasms/multiplesarcasms-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>A Nightmare On Elm Street</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/newline/anightmareonelmstreet/nightmareonelmstreet-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Oceans</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/oceans/oceans-tsr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Prince of Persia: the Sands of Time</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/princeofpersia/princeofpersia-tlr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Robin Hood</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/robinhood/robinhood-tlr3_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Salt</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/salt/salt-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Sex and the City 2</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/sexandthecity2/sexandthecity2-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Shrek Forever After</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/dreamworks/shrekforeverafter/shrek4-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Shutter Island</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/shutterisland/shutterisland-tlr1r2r_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>The Sorcerer's Apprentice</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/thesorcerersapprentice/sorcerersapprentice-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Toy Story 3</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/toystory3/toystory3-tlr3_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Tron Legacy</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/tronlegacy/tronlegacy-tsr1_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Tyler Perry's Why Did I Get Married Too</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/whydidigetmarriedtoo/whydidigetmarriedtoo-tlr2_h640w.mov</action>
- </button>
-
- <button>
- <type>VIDEO_BROWSER</type>
- <text>Wall Street: Money Never Sleeps</text>
- <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/wallstreetmoneyneversleeps/wallstreet-tlrf_h640w.mov</action>
- </button>
-
-</mythmenu>
diff --git a/abs/extra-testing/mythappletrailers/fix_aple_url.sh b/abs/extra-testing/mythappletrailers/fix_aple_url.sh
deleted file mode 100644
index a08be65..0000000
--- a/abs/extra-testing/mythappletrailers/fix_aple_url.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cat /home/mythtv/appletrailer.xml | sed -e 's|http:/\/\movies.apple|http:\/\/apple|g' > /tmp/appletrailer.xml
-mv /tmp/appletrailer.xml /home/mythtv
diff --git a/abs/extra-testing/mythappletrailers/loading.sh b/abs/extra-testing/mythappletrailers/loading.sh
deleted file mode 100755
index e4e85fc..0000000
--- a/abs/extra-testing/mythappletrailers/loading.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-. /etc/osd_cat.cfg || {
- color=yellow
- outline=2
- outlinecolour=black
- shadow=0
- shadowcolour=black
- font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
-}
-
-echo -e "Loading . . . " | osd_cat --pos=middle --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font
diff --git a/abs/extra-testing/mythappletrailers/myth_trailers_grabber b/abs/extra-testing/mythappletrailers/myth_trailers_grabber
deleted file mode 100755
index ae32e75..0000000
--- a/abs/extra-testing/mythappletrailers/myth_trailers_grabber
+++ /dev/null
@@ -1,214 +0,0 @@
-<?php
-/**
- * Copyright (C) 2007 Ben Leto <undertoe@chemlab.org>
- *
- * Description: Apple Trailer Grabber for mythtv
- *
- * Version 0.4.3
- *
- * Apple Trailer Grabber is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * Apple Trailer Grabber is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Usage: read the INSTALL file
- * Setup as a cron script to run as frequently as you want
- *
- *
- */
-
-/************************************************************************/
-// CONFIGURATION
-
-// command to use when streaming content from the internet - cache 50% before displaying and use 32MB of memory
-$STREAMING_EXEC_CMD = 'loading.sh &amp;&amp; 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
-
-
-define("PLAYERCMD", $STREAMING_EXEC_CMD);
-define("XMLFEED", $APPLE_FEED);
-
-/************************************************************************/
-
-init_main();
-
-// Function: returns null | init_main ()
-// Description: Outputs Apple Trailer XML feed to watchable movie urls in MythTV menu XML format
-function init_main()
-{
-
- print "<mythmenu name=\"TRAILERS\">\n";
-
- if(valid_url(XMLFEED)){
-
- // Gather Array of Current Movie Trailers
- //XML Data
- $xml_data = url_to_string(XMLFEED);
- //Creating Instance of the Class
- $xmlObj = new XmlToArray($xml_data);
- $arrayData = $xmlObj->createArray();
-
- foreach($arrayData['records']['movieinfo'] as $Row){
-
- $MovieTitle = $Row['info'][0]['title'];
- $MovieLink = $Row['preview'][0]['large'];
- $VideoPlayCMD = PLAYERCMD . ' ' . $MovieLink;
-
- if(!valid_url($MovieLink)){
- $MovieTitle = $MovieTitle . '*VIDEO ERROR*';
- $VideoPlayCMD = '';
- }
-
- print "\t<button>\n";
- print "\t\t<type>VIDEO_BROWSER</type>\n";
- $MovieTitle = preg_replace('/ & /', ' &amp; ', $MovieTitle);
- print "\t\t<text>$MovieTitle</text>\n";
- print "\t\t<action>EXEC $VideoPlayCMD</action>\n";
- print "\t</button>\n\n";
-
- }
- }else{
- print "\t<button>\n";
- print "\t\t<type>VIDEO_BROWSER</type>\n";
- print "\t\t<text>Error Grabbing XML Feed</text>\n";
- print "\t\t<action></action>\n";
- print "\t</button>\n\n";
- }
-
- print "</mythmenu>\n";
-
-
-
-}
-
-
-// Function: returns boolean | valid_url ( var | url to check)
-// Description: Checks to see if a url is a valid page
-function valid_url($str)
-{
- if(@fopen($str, "r")) {
- return true;
- } else {
- return false;
- }
-}
-
-// Function: returns string | all elements of XML ( var | url to feed)
-// Description: Converts each element in an XML feed to single line string
-// Notes: must have 'allow_url_fopen = On' in php.ini
-function url_to_string($url){
- $lines = file($url);
- foreach ($lines as $line) {
- $lineR = trim($line);
- }
- $lineR = eregi_replace("<" . "large" . "[^>]*>", "<large>", $lineR); //hack for apple goofy xml
- return $lineR;
-}
-
-// Class: returns (~) x array | elements of XML ( var | XML in string)
-// Description: Converts each element in an XML feed to an Array
-class XmlToArray
-{
-
- var $xml='';
-
- /**
- * Default Constructor
- * @param $xml = xml data
- * @return none
- */
-
- function XmlToArray($xml)
- {
- $this->xml = $xml;
- }
-
- /**
- * _struct_to_array($values, &$i)
- *
- * This is adds the contents of the return xml into the array for easier processing.
- * Recursive, Static
- *
- * @access private
- * @param array $values this is the xml data in an array
- * @param int $i this is the current location in the array
- * @return Array
- */
-
- function _struct_to_array($values, &$i)
- {
- $child = array();
- if (isset($values[$i]['value'])) array_push($child, $values[$i]['value']);
-
- while ($i++ < count($values)) {
- switch ($values[$i]['type']) {
- case 'cdata':
- array_push($child, $values[$i]['value']);
- break;
-
- case 'complete':
- $name = $values[$i]['tag'];
- if(!empty($name)){
- $child[$name]= ($values[$i]['value'])?($values[$i]['value']):'';
- if(isset($values[$i]['attributes'])) {
- $child[$name] = $values[$i]['attributes'];
- }
- }
- break;
-
- case 'open':
- $name = $values[$i]['tag'];
- $size = isset($child[$name]) ? sizeof($child[$name]) : 0;
- $child[$name][$size] = $this->_struct_to_array($values, $i);
- break;
-
- case 'close':
- return $child;
- break;
- }
- }
- return $child;
- }//_struct_to_array
-
- /**
- * createArray($data)
- *
- * This is adds the contents of the return xml into the array for easier processing.
- *
- * @access public
- * @param string $data this is the string of the xml data
- * @return Array
- */
- function createArray()
- {
- $xml = $this->xml;
- $values = array();
- $index = array();
- $array = array();
- $parser = xml_parser_create();
- xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
- xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
- xml_parse_into_struct($parser, $xml, $values, $index);
- xml_parser_free($parser);
- $i = 0;
- $name = $values[$i]['tag'];
- $array[$name] = isset($values[$i]['attributes']) ? $values[$i]['attributes'] : '';
- $array[$name] = $this->_struct_to_array($values, $i);
- return $array;
- }
-
-
-}
-
-?>
diff --git a/abs/extra-testing/mythappletrailers/mythappletrailers.install b/abs/extra-testing/mythappletrailers/mythappletrailers.install
deleted file mode 100644
index 96f6717..0000000
--- a/abs/extra-testing/mythappletrailers/mythappletrailers.install
+++ /dev/null
@@ -1,37 +0,0 @@
-# arg 1: the new package version
-post_install() {
- ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml
- mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp
- grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
- echo "<!--#MythAppleTrailers-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Apple Trailers</text>" >> /tmp/is.xml.tmp
- echo " <action>MENU appletrailer.xml</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#MythAppleTrailers-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "</mythmenu>" >> /tmp/is.xml.tmp
- mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
-}
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ -e /usr/share/mythtv/themes/defaultmenu/appletrailer.xml ]
- then
- exit
- else
- ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml
- fi
-}
-
-# arg 1: the old package version
-post_remove() {
- rm -fr /usr/share/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaulmenu/mythappletrailer.xml
- mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp
- sed -e '/\#MythAp/,/\#MythAp/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra-testing/mythappletrailers/trailers b/abs/extra-testing/mythappletrailers/trailers
deleted file mode 100755
index 241a60a..0000000
--- a/abs/extra-testing/mythappletrailers/trailers
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml && /usr/bin/fix_aple_url.sh' 2>/dev/null