VLC 1.0.5 fails to read XSPF with Extensions

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Donama
Blank Cone
Blank Cone
Posts: 10
Joined: 24 May 2010 05:08

VLC 1.0.5 fails to read XSPF with Extensions

Postby Donama » 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:

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>
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.)

Donama
Blank Cone
Blank Cone
Posts: 10
Joined: 24 May 2010 05:08

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Donama » 24 May 2010 05:32

I have just noticed at http://wiki.videolan.org/XSPF that it appears VLC may only support the vlc extensions to XSPF which is fine and to be expected. My problem is that I don't want to have to manually edit or transform dozens of play lists, just to comment out unsupported extensions. Why can't VLC just ignore extensions it does not understand?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Jean-Baptiste Kempf » 25 May 2010 11:44

It isn't a known issue, and you should open a bug about it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Donama
Blank Cone
Blank Cone
Posts: 10
Joined: 24 May 2010 05:08

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Donama » 27 May 2010 03:22

Jb, I tried to register and log into the TRAC system but it doesn't work. It says: "TICKET_CREATE privileges are required to perform this operation"

Can you please either give me privileges to create a new ticket or log this bug yourself for me with the following text?

Problem: VLC 1.0.5 fails to read XSPF with unsupported extensions.
Change request: Unsupported extensions should be ignore.
More detail: viewtopic.php?f=2&t=76672

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Jean-Baptiste Kempf » 27 May 2010 17:22

What is your name on trac?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Donama
Blank Cone
Blank Cone
Posts: 10
Joined: 24 May 2010 05:08

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Donama » 28 May 2010 06:12

Donama, same as here. Cheers

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Jean-Baptiste Kempf » 28 May 2010 16:13

Done.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Jean-Baptiste Kempf » 31 May 2010 11:44

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby ivoire » 27 Jun 2010 20:14

This is now fixed. Now the xspf parser just skipp every extension node which does not belong to vlc.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.5 fails to read XSPF with Extensions

Postby Jean-Baptiste Kempf » 27 Jun 2010 20:24

And will be in 1.1.1
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests