From 25303a0aaa45c511fb04b56c386f703d7c25bb0b Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Wed, 11 Feb 2009 22:48:51 -0800
Subject: More cleanups.

---
 abs/extra-testing/mythvodka/PKGBUILD       |  6 ++++--
 abs/extra-testing/mythvodka/mythvodka.diff | 19 ++++++++++++++-----
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/abs/extra-testing/mythvodka/PKGBUILD b/abs/extra-testing/mythvodka/PKGBUILD
index ac6de1f..3795c4d 100644
--- a/abs/extra-testing/mythvodka/PKGBUILD
+++ b/abs/extra-testing/mythvodka/PKGBUILD
@@ -3,14 +3,14 @@
 
 pkgname=mythvodka
 pkgver=0.7
-pkgrel=8
+pkgrel=9
 pkgdesc="MythVodka (Video On Demand Killer App) is a plugin for MythTV allowing streaming of BBC iPlayer, Hulu, HTTP and NZB content."
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://code.google.com/p/mythvodka/"
 depends=('rtmpdump' 'perl-xml-dom' 'beautiful-soup')
 install=mythvodka.install
-source=('http://mythvodka.googlecode.com/files/mythvodka.07.tar.gz' 'mythvodka.diff' 'hulu_grabber.sh')
+source=('http://mythvodka.googlecode.com/files/mythvodka.07.tar.gz' 'mythvodka.diff' 'hulu_grabber.sh' 'http://ftp.knoppmyth/R6/sources/huludata.tar.bz2')
 
 build() {
 	patch -p0 < mythvodka.diff
@@ -31,4 +31,6 @@ build() {
 	mkdir -p $startdir/pkg/etc/cron.daily/
 	chmod 755 ../../hulu_grabber.sh
 	cp ../../hulu_grabber.sh $startdir/pkg/etc/cron.daily/
+	mkdir -p $startdir/pkg/var/tmp
+	cp $startdir/src/huludata.xml $startdir/pkg/var/tmp
 }
diff --git a/abs/extra-testing/mythvodka/mythvodka.diff b/abs/extra-testing/mythvodka/mythvodka.diff
index 7b6ebb1..f266621 100644
--- a/abs/extra-testing/mythvodka/mythvodka.diff
+++ b/abs/extra-testing/mythvodka/mythvodka.diff
@@ -1,6 +1,6 @@
 diff -ruaN mythvodka.orig/mythvodka/streamsui.cpp mythvodka/mythvodka/streamsui.cpp
 --- mythvodka.orig/mythvodka/streamsui.cpp	2009-01-06 00:18:35.000000000 +0000
-+++ mythvodka/mythvodka/streamsui.cpp	2009-02-05 06:23:10.000000000 +0000
++++ mythvodka/mythvodka/streamsui.cpp	2009-02-12 06:35:19.000000000 +0000
 @@ -729,7 +729,7 @@
      
          MythProgressDialog *buffer_progress;
@@ -10,9 +10,18 @@ diff -ruaN mythvodka.orig/mythvodka/streamsui.cpp mythvodka/mythvodka/streamsui.
      
          QFile file(filename);
      
+@@ -822,7 +822,7 @@
+     
+         MythProgressDialog *buffer_progress;
+         buffer_progress = new MythProgressDialog(
+-            QObject::tr("RING RING... I FUCKED YOUR GRANDDAUGHTER"), bufferSizemov, true, this, SLOT(cancelPressed()));
++            QObject::tr("We seem to have hit some sort of problem..."), bufferSizemov, true, this, SLOT(cancelPressed()));
+     
+         QFile filemov(filenamemov);
+     
 diff -ruaN mythvodka.orig/scripts/get_iplayer mythvodka/scripts/get_iplayer
 --- mythvodka.orig/scripts/get_iplayer	2009-01-06 19:11:24.000000000 +0000
-+++ mythvodka/scripts/get_iplayer	2009-02-05 06:28:36.000000000 +0000
++++ mythvodka/scripts/get_iplayer	2009-02-12 06:34:28.000000000 +0000
 @@ -3,16 +3,17 @@
  # get_iplayer
  #
@@ -3776,7 +3785,7 @@ diff -ruaN mythvodka.orig/scripts/get_iplayer mythvodka/scripts/get_iplayer
  			logger "(Disabled) PVR Search '$name':\n";
 diff -ruaN mythvodka.orig/scripts/gethulu.pl mythvodka/scripts/gethulu.pl
 --- mythvodka.orig/scripts/gethulu.pl	2009-01-06 19:26:30.000000000 +0000
-+++ mythvodka/scripts/gethulu.pl	2009-02-05 06:28:36.000000000 +0000
++++ mythvodka/scripts/gethulu.pl	2009-02-12 06:34:28.000000000 +0000
 @@ -123,7 +123,8 @@
        if($ephtml =~ m/thumbnail_url: "(.+?)"/)  { $epimg=$1 } ;
  
@@ -3789,7 +3798,7 @@ diff -ruaN mythvodka.orig/scripts/gethulu.pl mythvodka/scripts/gethulu.pl
        print MYTHMENU "<Synopsis>$epdate - $epdesc</Synopsis>\n";
 diff -ruaN mythvodka.orig/scripts/hulu mythvodka/scripts/hulu
 --- mythvodka.orig/scripts/hulu	2009-01-04 15:25:24.000000000 +0000
-+++ mythvodka/scripts/hulu	2009-02-05 06:28:36.000000000 +0000
++++ mythvodka/scripts/hulu	2009-02-12 06:34:28.000000000 +0000
 @@ -22,6 +22,7 @@
  html=get_HTML(cid)
  cidSoup=BeautifulStoneSoup(html)
@@ -3873,7 +3882,7 @@ diff -ruaN mythvodka.orig/scripts/hulu mythvodka/scripts/hulu
 +    f.close()
 diff -ruaN mythvodka.orig/scripts/mythvodka_player.sh mythvodka/scripts/mythvodka_player.sh
 --- mythvodka.orig/scripts/mythvodka_player.sh	1970-01-01 00:00:00.000000000 +0000
-+++ mythvodka/scripts/mythvodka_player.sh	2009-02-05 06:28:36.000000000 +0000
++++ mythvodka/scripts/mythvodka_player.sh	2009-02-12 06:34:28.000000000 +0000
 @@ -0,0 +1,38 @@
 +#! /bin/bash
 +#
-- 
cgit v0.12

