rpms/totem/F-11 0001-Bug-594320-Playing-youtube-videos-results-in-404-in-.patch, NONE, 1.1 totem.spec, 1.245, 1.246

Bastien Nocera hadess at fedoraproject.org
Fri Oct 2 23:26:26 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/totem/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28080

Modified Files:
	totem.spec 
Added Files:
	0001-Bug-594320-Playing-youtube-videos-results-in-404-in-.patch 
Log Message:
* Sat Oct 03 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-6
- Fix YouTube plugin URLs (#521725)


0001-Bug-594320-Playing-youtube-videos-results-in-404-in-.patch:
 youtube.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE 0001-Bug-594320-Playing-youtube-videos-results-in-404-in-.patch ---
>From 72ee356863aac922bbe3fc4fe16e7dfbf32ae647 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Tue, 15 Sep 2009 14:25:21 +0100
Subject: [PATCH] =?UTF-8?q?Bug=C2=A0594320=20-=20Playing=20youtube=20videos=20results=20in=20404=20in=20gst=5Fsoup=5Fhttp=5Fsrc=5Fparse=5Fstatus()?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The "t" parameter is a bit too escaped (it's escaped in the gdata
xml, and again by urllib.
---
 src/plugins/youtube/youtube.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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)
 
-- 
1.6.4.4



Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/F-11/totem.spec,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -p -r1.245 -r1.246
--- totem.spec	15 Sep 2009 12:23:19 -0000	1.245
+++ totem.spec	2 Oct 2009 23:26:25 -0000	1.246
@@ -9,7 +9,7 @@
 Summary: Movie player for GNOME
 Name: totem
 Version: 2.26.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+ with exceptions
 Group: Applications/Multimedia
 URL: http://projects.gnome.org/totem/
@@ -18,6 +18,7 @@ Source1: totem-bin-backend-ondemand.sh
 # Will be removed when we switch to playbin2
 Patch0: 0001-Set-the-PA-stream-volume-from-Totem.patch
 Patch1: 0001-Fix-crash-when-a-storage-volume-has-an-emblem.patch
+Patch2: 0001-Bug-594320-Playing-youtube-videos-results-in-404-in-.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
 Requires(pre): GConf2 >= 2.14
@@ -212,6 +213,7 @@ audio and video files in the properties 
 pushd totem-%{version}/
 %patch0 -p1 -b .pulsesink-vol
 %patch1 -p1 -b .emblemed-drive-crash
+%patch2 -p1 -b .youtube-urls
 popd
 # Whatever needs to be changed in both copies do here
 ## remember to update me when changing %doc
@@ -485,6 +487,9 @@ fi
 %endif
 
 %changelog
+* Sat Oct 03 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-6
+- Fix YouTube plugin URLs (#521725)
+
 * Tue Sep 15 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-5
 - Another pass at PA volume patch, should be much better
 




More information about the fedora-extras-commits mailing list