summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-09-16 08:39:02 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-09-16 08:39:02 +0000
commitd1b07a02df26617befe9e2f33e7e1127aa5f396e (patch)
treed0acde4758c84bc1121b8fd7fdd2b7da02efdbae /media-video/totem/files
parentx11-drivers/xf86-input-synaptics: punt syndaemon init script (see bug #37767) (diff)
downloadhistorical-d1b07a02df26617befe9e2f33e7e1127aa5f396e.tar.gz
historical-d1b07a02df26617befe9e2f33e7e1127aa5f396e.tar.bz2
historical-d1b07a02df26617befe9e2f33e7e1127aa5f396e.zip
Fix youtube plugin, playing youtube videos resulted in 404 in gst_soup_http_src_parse_status(), patch import from upstream bug #594320
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'media-video/totem/files')
-rw-r--r--media-video/totem/files/totem-2.26.3-youtube-plugin-404-error.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-video/totem/files/totem-2.26.3-youtube-plugin-404-error.patch b/media-video/totem/files/totem-2.26.3-youtube-plugin-404-error.patch
new file mode 100644
index 000000000000..7ee12945687e
--- /dev/null
+++ b/media-video/totem/files/totem-2.26.3-youtube-plugin-404-error.patch
@@ -0,0 +1,23 @@
+From 72ee356863aac922bbe3fc4fe16e7dfbf32ae647 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Tue, 15 Sep 2009 13:25:21 +0000
+Subject: Bug 594320 - Playing youtube videos results in 404 in gst_soup_http_src_parse_status()
+
+The "t" parameter is a bit too escaped (it's escaped in the gdata
+xml, and again by urllib.
+---
+diff --git a/src/plugins/youtube/youtube.py b/src/plugins/youtube/youtube.py
+index 1a9046f..11d47ea 100644
+--- a/src/plugins/youtube/youtube.py
++++ b/src/plugins/youtube/youtube.py
+@@ -334,7 +334,7 @@ class YouTube (totem.Plugin):
+ t_param = self.resolve_t_param (youtube_id)
+
+ if t_param != "":
+- mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (t_param) + self.get_fmt_string ()
++ mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + t_param + self.get_fmt_string ()
+
+ gobject.idle_add (self._append_to_liststore, treeview_name, pixbuf, entry.title.text, mrl, youtube_id, search_token)
+
+--
+cgit v0.8.2