phonon xine mediaobject and badly encoded filenames

Marcos Dione mdione at grulic.org.ar
Mon Nov 9 18:30:17 CET 2009


On Mon, Nov 09, 2009 at 04:56:14PM +0100, Matthias Kretz wrote:
> this is a very delicate part of the code to touch. Xine MRLs have their own 
> non-standard way to do escaping because there are some characters used for 
> special purposes. 

    any useful doc to read?

> I don't recall from the top of my head which ones they are, but please test 

    you mean:

https://bugs.kde.org/show_bug.cgi?id=172242

    I also found:

https://bugs.kde.org/show_bug.cgi?id=197252
https://bugs.kde.org/show_bug.cgi?id=206085
https://bugs.kde.org/show_bug.cgi?id=173789
https://bugs.kde.org/show_bug.cgi?id=189898
https://bugs.kde.org/show_bug.cgi?id=190885
https://bugs.kde.org/show_bug.cgi?id=194889

   and several other dupes and such. 

> that the following type of URLs still work with your patch:
> 
> file://path/somethingwitha#.ogg
> http://example.com/foo.ogg
> 
> I think both will break - the first because of the missing MRL escaping, the 
> second because you prepend "file:/".

    ok, I will try to fix it so those play. it makes sense to use a QUrl
instead of QFile/QString, but then we sould call mrlEncode with
source.url().toEncoded() and fix from there.

-- 
(Not so) Random fortune:
18:57 < r0ver> ademas, si te rascas siempres con las unias... y no te le animas
    a las tijeras....
18:57 < r0ver> cuando te den una motosierra que vas a hacer ?
18:57 < r0ver> sabes lo que puede estar rascarte los huevos con una motosierra ?
18:57 < r0ver> conseguis laburo seguro en un circo


More information about the Phonon-backends mailing list