[SCM] Video extraction utility for YouTube, Google Video and other video sites (Debian packaging) branch, squeeze-freeze, updated. debian/2.2.13-5+squeeze3-2-ga4fac6f

Ansgar Burchardt ansgar at debian.org
Sat Jan 28 19:44:49 UTC 2012


The following commit has been merged in the squeeze-freeze branch:
commit d87dc3080e366e327e5e74b557fab8014faf2331
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Sat Jan 28 11:38:43 2012 +0100

    Adapt for youtube.com changes.
    
    Thanks to Ingo Saitz <Ingo.Saitz at stud.uni-hannover.de> for the patch.
    
    Bug: https://sourceforge.net/apps/trac/clive/ticket/14
    Bug-Debian: http://bugs.debian.org/645025

diff --git a/debian/patches/645025-youtube.diff b/debian/patches/645025-youtube.diff
new file mode 100644
index 0000000..d3b7b8d
--- /dev/null
+++ b/debian/patches/645025-youtube.diff
@@ -0,0 +1,31 @@
+From: Ingo Saitz <Ingo.Saitz at stud.uni-hannover.de>
+Date: Tue, 11 Oct 2011 22:56:27 +0200
+Subject: Fix problem with some youtube.com videos
+Bug: https://sourceforge.net/apps/trac/clive/ticket/14
+Bug-Debian: http://bugs.debian.org/645025
+
+[ backported to Squeeze with some whitespace changes ]
+
+--- clive.orig/lib/clive/Host/Youtube.pm
++++ clive/lib/clive/Host/Youtube.pm
+@@ -33,7 +33,7 @@
+ 
+     my %re = (
+         id => qr|"video_id": "(.*?)"|,
+-        url_encoded_fmt_stream_map => qr|url_encoded_fmt_stream_map=(.*?)&|,
++        url_encoded_fmt_stream_map => qr|"url_encoded_fmt_stream_map": "(.*?)"|,
+     );
+ 
+     my $tmp;
+@@ -44,9 +44,9 @@
+ 
+         require URI::Escape;
+ 
+-        foreach (split /,/, URI::Escape::uri_unescape ($tmp->{url_encoded_fmt_stream_map})) {
++        foreach (split /,/, $tmp->{url_encoded_fmt_stream_map}) {
+ 	    my %map;
+-	    for my $kv (split /&/) {
++	    for my $kv (split /\\u0026/) {
+ 		my ($key, $value) = split /=/, $kv;
+ 		$map{$key} = URI::Escape::uri_unescape($value);
+ 	    }
diff --git a/debian/patches/series b/debian/patches/series
index fdf4ae3..f4a06d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix-606540-youtube.patch
 0001-Youtube-Fix-video-ID-parsing-10.patch
 liveleak-fix-from-2.2.25.patch
 636612-youtube.diff
+645025-youtube.diff

-- 
Video extraction utility for YouTube, Google Video and other video sites (Debian packaging)



More information about the Pkg-perl-cvs-commits mailing list