[Playlist] xspf and spaces in filenames

Gerrit gerrit.undefined at gmail.com
Sat Dec 8 16:45:10 UTC 2007


Hi All,

I looked at examples, searched the web etc, so I think I have done some 
research.

The question I was not able to find an answer on is the following:

Does xspf support spaces in <location></locatio> ?

I have seen examples like

<track><location>http://example.com/song_1.mp3</location></track>
        <track><location>http://example.com/song_2.mp3</location></track>
        <track><location>http://example.com/song_3.mp3</location></track>

bu I could not find an example that is more realistic like

<track><location>http://example.com/This Artist/second album/01 - a very good song.mp3</location></track>

Needless to say, I have not been able to create an xspf file that 
contains locations with urls containing spaces, while I can create  
m3u's with spaces in filenames.

I have tried copying the relevant parts of the m3u in the location, but 
no luck.

I have been succesfull with xspf with only 
'http://example.com/averygoodsong.mp3' as the location and that does 
work (playing in vlc and winamp)

I might be missing something very obvious. I would not mind having that 
pointed out to me.

Regards,

Gerrit

http://example.com






More information about the Playlist mailing list