Commit 72ee3568 authored by Bastien Nocera's avatar Bastien Nocera

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.
parent 3bd86132
...@@ -334,7 +334,7 @@ class YouTube (totem.Plugin): ...@@ -334,7 +334,7 @@ class YouTube (totem.Plugin):
t_param = self.resolve_t_param (youtube_id) t_param = self.resolve_t_param (youtube_id)
if t_param != "": 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) gobject.idle_add (self._append_to_liststore, treeview_name, pixbuf, entry.title.text, mrl, youtube_id, search_token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment