Page 1 of 1

XSPF playlist and images

Posted: 10 Jan 2014 15:02
by galaad
Hello,

I have an XSPF playlit like this :

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://xspf.org/ns/0/" version="1"> <title>A Title</title> <creator>Foo Bar</creator> <image>file:///H:/music/picture.jpg</image> <trackList> <track> <title>Track Title</title> <location>file:///H:/music/track.mp3</location> <duration>178051</duration> </track> </trackList> </playlist>
But VLC don't display my picture :cry:
Is it a bug ? Or maybe you choose to not implement this part of the XSPF specification for a technical reason ?

Re: XSPF playlist and images

Posted: 10 Jan 2014 17:15
by RĂ©mi Denis-Courmont
VLC has no notion of playlist-wide image. There is no place to show it in the UI even.

Re: XSPF playlist and images

Posted: 10 Jan 2014 17:47
by galaad
The XSPF specification explain that this image is a default image if there is not image in the trackList.
trackList has no image element, but each track can have an image element.
So I think it is a little mistake in the specification.

There is a place to display the track image in the UI, so if the track has no image this playlist image could be displayed instead.