python plugin help add_location

Oliver Marks <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <CACvA_FfKARLpknwG0p+5vmW=fP8-R1Mgay=TkrqVdpaM-R-YcA@mail.gmail.com>
What is the correct way to encode a track to be added to the queue, my
current code seems to work until i hit an ' or in the examples below
file:///home/oly/Music/from%20server/Albums/bon%20jovi/(1984)%20-%20Bon%20Jovi/03-She%20don%27t%20know%20me
file:///home/oly/Music/from%20server/Albums/bon%20jovi/(1984)%20-%20Bon%20Jovi/03-She%20don%27t%20know%20me

the first fails because of the %27 in this song "she don't know me" so i am
guessing i am doing something wrong with the encoding ?

Obviously direct in rhythmbox this track queue fine anyone able to point me
in the direction as to whats wrong with the encoded uri above ?
I could not find much on the exact escaping i should be using with this
function.

_______________________________________________
rhythmbox-devel mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.