Bug 333745 - Amarok exports unreadable playlists for other players...

Brian Blater brb.lists at gmail.com
Mon Mar 2 20:05:01 UTC 2015


On Mon, Mar 2, 2015 at 2:40 PM, Thomas Lübking <thomas.luebking at gmail.com>
wrote:

> On Montag, 2. März 2015 17:19:50 CEST, Brian Blater wrote:
>
>> I'm running up against this bug where I export a playlist to .m3u and I
>> get
>> characters inserted for spaces etc like %20.
>>
>> I've searched and some say it isn't a bug, but is a locale issue on the
>> machine. However, my locale is set to en_US.UTF-8.
>>
>
> It's not *necessarily/ a bug and it's not related to your locale.
> m3u is "Mp3-Url" and can contain urls or relative paths.
>
> If the entry is a URL, there must not be spaces, but encondings. There
> *may* also other "unsafe" characters be encoded.
>
> If the encoding shows up in a relative path, it's debatable and might be
> claimed a bug.
>

It doesn't matter what I export it as (m3u, pls, xspf) it still contains
the inserted characters. My point being that this used to work and didn't
insert the characters before I upgraded to 14.04.


>
> If it's in a url (like file:///foo/bar/stuff%20with%20spaces.mp3) it's
> simply the "other" player(s) which is broken in its url handling.
> There's really not much to discuss there.
>
> I assume one could as for a feature to not encode urls (despite that's
> actually wrongdoing)
>
>
>  I want to go through thousands of files doing a search and replace to make
>> it work.
>>
>
> You're on windows, are you? Nobody strips html entities by hand ;-)
> You can use sed, awk, perl or a specialised tool "urldecode" to do this
> automatically (where the last is the most simple to use.)


Had I been on Windows I would have expected this kind of behavior - having
to take your file through who knows how many iterations to strip
characters.  But this is linux and it was working correctly before. Yes, I
can send the file through a python script (or whatever works for you) that
will convert the garbage to what it should be. The point is, I shouldn't
have to do this to get a playlist from Amarok, that works in the player of
my choice at the moment (in this case Audacious.)

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20150302/b0d40952/attachment.html>


More information about the Amarok mailing list