[Bug 673565] [playbin2] File URI containing % is not played

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 6 04:28:06 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673565
  GStreamer | gst-python | 0.10.x

--- Comment #2 from hjuvi-gnome at yahoo.fr 2012-04-06 11:28:04 UTC ---
Thank you.
I've tried this and it works fine:

from urllib import pathname2url
self.player.set_property('uri', 'file://' + pathname2url(filename))

I don't know if this is the better way to do it (URL vs URI), but it seems that
g_filename_to_uri has no python binding...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list