URI's with '%' in them

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

URI's with '%' in them

Ash-25
Why is it that when I have a file with '%' in it, for example "a%.mp3", the uri cannot be found by playbin? For example doing gst-launch playbin uri="a%.mp3" fails. A few gstreamer players as well fail. Totem seems to work though. What are they converting the '%' to?

Stay in touch when you're away with Windows Live Messenger. IM anytime you're online.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: URI's with '%' in them

michael smith-6-3
On Tue, Jul 29, 2008 at 5:21 PM, Ash <[hidden email]> wrote:
> Why is it that when I have a file with '%' in it, for example "a%.mp3", the
> uri cannot be found by playbin? For example doing gst-launch playbin
> uri="a%.mp3" fails. A few gstreamer players as well fail. Totem seems to
> work though. What are they converting the '%' to?

You have to pass a URI, not a filename, in the uri property.

For example:

/tmp/test.mp3 -> file:///tmp/test.mp3
/tmp/a%.mp3 -> file:///tmp/a%25.mp3

(the percentage sign is URL-escaped here)

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel