Comment 22 for bug 191760

Revision history for this message
glenmo (q-launchpad-glenmo-com) wrote :

changed that line in /usr/lib/totem/plugins/youtube/youtube.py

didn't help

uninstalled bad-multiverse AND bad

installed bad-multiverse

didn't help

installed bad

didn't help

i'm completely out of idears
i ran this on command line:

$ totem-gstreamer | xclip
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 144, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])
AttributeError: 'NoneType' object has no attribute 'groups'
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet

** Message: don't know how to handle application/x-shockwave-flash

got this in clipboard:

** (totem-gstreamer:7312): DEBUG: Init of Python module
** (totem-gstreamer:7312): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem-gstreamer:7312): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem-gstreamer:7312): DEBUG: Creating Python plugin instance
** (totem-gstreamer:7312): DEBUG: Finalizing Python plugin instance

so i changed the line

 mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])

by removing the groups()[0] and got this:

** (totem-gstreamer:7768): DEBUG: Init of Python module
** (totem-gstreamer:7768): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin
** (totem-gstreamer:7768): DEBUG: Creating object of type YouTube+TotemPythonPlugin
** (totem-gstreamer:7768): DEBUG: Creating Python plugin instance
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 145, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location))
  File "/usr/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
TypeError: argument 2 to map() must support iteration
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1372): gst_ffmpegdemux_sink_activate_push (): /play/decodebin0/ffdemux_swf0:
failed to activate sinkpad in pull mode, push mode not implemented yet

** Message: don't know how to handle application/x-shockwave-flash
** (totem-gstreamer:7768): DEBUG: Finalizing Python plugin instance