VLC 1.0.5 fails to read XSPF with Extensions
Posted: 24 May 2010 05:25
I have a handcrafted XSPF play list file which validates against Sebastian Pipping's Online XSPF validator (http://validator.xspf.org/) Actually, it was originally generated by the Sift Project iTunes -> XSPF transform, but that is beside the point since it validates.
Pasting the XML so you can see it:
If I uncomment the two <extension> XML blocks it still validates but VLC cannot read it properly.
You should be able to replicate the error:
1. Copy my XML above.
2. Save it as a new text/xml file
3. Adjust the URI to something that exists on your machine.
4. Double-click the file to open in VLC. VLC loads this just fine and the track will play.
5. Uncomment the two <extension> XML blocks.
6. Double-click the file to open in VLC. VLC will not play the track as the XSPF has failed to load.
Is this a known issue? If so when will it be fixed.
I'm using VLC 1.0.5 under XP.
Thanks
(I have tried to find an existing post about this problem but failed. If I'm wrong please forgive and redirect me.)
Pasting the XML so you can see it:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns:sift="http://kulp.ch/sift/2006/08" xmlns="http://xspf.org/ns/0/">
<title>2009-12-16 Ethereal</title>
<identifier>itunes:playlist:2009-12-16Ethereal</identifier>
<!--<extension application="http://kulp.ch/sift/">
<sift:playlistId>19424</sift:playlistId>
<sift:attribute name="Special Type">All Items</sift:attribute>
</extension>-->
<trackList>
<track>
<location>file:///F:/musik/The%20Cambridge%20Singers/Christmas%20Star%20-%20Carols%20For%20The%20Christma/04%20Silent%20Night.mp3</location>
<creator>The Cambridge Singers</creator>
<album>Christmas Star - Carols For The Christmas Season</album>
<title>Silent Night</title>
<duration>186070</duration>
<!--<extension application="http://kulp.ch/sift/">
<sift:attribute name="Bit Rate">256</sift:attribute>
<sift:attribute name="Date Added">2009-12-16T02:03:21Z</sift:attribute>
<sift:attribute name="Genre">Christmas songs</sift:attribute>
<sift:attribute name="Persistent ID">087CDDC2617D77FD</sift:attribute>
<sift:attribute name="Play Count">6</sift:attribute>
<sift:attribute name="Play Date UTC">2010-03-30T01:41:44Z</sift:attribute>
<sift:attribute name="Rating">80</sift:attribute>
<sift:attribute name="Sample Rate">44100</sift:attribute>
<sift:attribute name="Size">6092503</sift:attribute>
<sift:attribute name="Track Count">22</sift:attribute>
<sift:attribute name="Track Number">4</sift:attribute>
<sift:attribute name="Track Type">File</sift:attribute>
<sift:attribute name="Year">1981</sift:attribute>
</extension>-->
</track>
</trackList>
</playlist>
You should be able to replicate the error:
1. Copy my XML above.
2. Save it as a new text/xml file
3. Adjust the URI to something that exists on your machine.
4. Double-click the file to open in VLC. VLC loads this just fine and the track will play.
5. Uncomment the two <extension> XML blocks.
6. Double-click the file to open in VLC. VLC will not play the track as the XSPF has failed to load.
Is this a known issue? If so when will it be fixed.
I'm using VLC 1.0.5 under XP.
Thanks
(I have tried to find an existing post about this problem but failed. If I'm wrong please forgive and redirect me.)