tag 589906 +patch

The upstream issue tracker already has a patch for this.

http://code.google.com/p/clive/issues/attachmentText?id=58&aid=-1723176094521403733&name=0001-fix-youtube-http-404-issue.patch&token=75c430517b4a5bfa2a95c51be16ebbd0a

Cheers,
-Hilko

>From 163ffde2b07582806f622486c9a4e8287d553ae4 Mon Sep 17 00:00:00 2001
From: legatvs <[email protected]>
Date: Sat, 24 Jul 2010 15:08:26 +0300
Subject: [PATCH] fix youtube http/404 issue.

---
 ChangeLog                 |    1 +
 lib/clive/Host/Youtube.pm |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b5931aa..445cbe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 Version 2.2.12
 
 Bugfixes:
+  * [youtube] http/404, ported from quvi, fix by Daniel Schaal (quvi #7)
   * break.com support, thanks to Werner Elsler for the fix (#57)
 
 
diff --git a/lib/clive/Host/Youtube.pm b/lib/clive/Host/Youtube.pm
index 279b6d5..e922d9a 100644
--- a/lib/clive/Host/Youtube.pm
+++ b/lib/clive/Host/Youtube.pm
@@ -57,6 +57,8 @@ sub parsePage {
         my $xurl
             = "http://youtube.com/get_video?video_id=$tmp->{id}&t=$tmp->{t}";
 
+        $xurl .= "&asv=2"; # Should fix the http/404 issue (#58).
+
         my $config = clive::Config->instance->config;
 
         my $fmt;
-- 
1.7.2

Reply via email to