Page 1 of 1

Bug-Report: Options in xspf playlist fail

Posted: 22 Oct 2009 19:01
by misc1979
Hello,
Setting options for individual files in the xspf-playlist fails due to the fact, that VLC applies the options of the first video file to the whole playlist, although each file contains a different options tag:
Example:
<track>
<location>C:\file_1.mp4</location>
<duration>208515</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>aspect-ratio=4:3</vlc:option>
</extension>
</track>
<track>
<location>C:\file_2.mp4</location>
<duration>208515</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
<vlc:option>aspect-ratio=16:9</vlc:option>
</extension>
</track>

In this case all files in the playlist are displayed in aspect ratio of 4:3.

Can someone remove this bug, please.

Thank you,
Michael

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 03:41
by misc1979
Could someone please answer if this bug will be removed soon?

Are there any alternatives to "save" individual settings for each file? Maybe by adding a new feature to vlc that allows to save individual settings in a separate file with the same name as the video (just another ending). Then the video would be played always with the correct settings as long as the config-file exists.

What do you think about this suggestion?

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 18:09
by Rémi Denis-Courmont
It's difficult to fix a non-existing bug. This works fine here (tested both 1.0 and 1.1).

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 18:21
by misc1979
Allo Rémi,

How can it be, that it works on your system? I am using Windos XP Media Edition SP2 and VLC 1.0.2.

Could you please post the whole xspf file you have used to try? I would like to see, if you have some different header information. TY!

Where can I find VLC 1.1 to try if this version works better?

Thank you,

Best,
Michael

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 18:29
by Rémi Denis-Courmont

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"> <title>Test</title> <trackList> <track> <location>dvd:///@1:6</location> <duration>208515</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>0</vlc:id> <vlc:option>no-audio</vlc:option> </extension> </track> <track> <location>dvd://@1:11</location> <duration>208515</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>1</vlc:id> <vlc:option>no-video</vlc:option> </extension> </track> </trackList> <extension application="http://www.videolan.org/vlc/playlist/0"> </extension> </playlist>

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 19:26
by misc1979
Allo Rémi,

Thank you. With no-audio and no-video as an option it works with my system, too. But if you put in the aspect-ratio, it still keeps the aspect ratio of the first video.

You can try this yourself by substituting the audio and video options for
<vlc:option>aspect-ratio=4:3</vlc:option>
and
<vlc:option>aspect-ratio=16:9</vlc:option>

It always keeps the aspect ratio of the first video. And that's why I think this is a bug.

Could you please check for this specific option?

Thank you!

Best,
Michael

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 19:39
by Rémi Denis-Courmont
Are you sure the option works at all? What if you stop playback between the items?

Re: Bug-Report: Options in xspf playlist fail

Posted: 26 Oct 2009 19:53
by misc1979
If I stop playback in between it still keeps the aspect-ratio.

And I am sure that the option works, since it changes the aspect-ratio of the first video in the way it is intended to. But unfortunately it does not change back. So if I make my first video play with 4:3 all videos are displayed in 4:3. If I make my first video play with 16:9 all videos are displayed in 16:9. I guess that's a proof that the option works - at least with the first one! But the bug is, that it keeps this variable and does not override it when another aspect ratio is selected.

I have seen you are among the developers, so maybe you could check the code where this option is applied and fix this bug.

That would be very great!

Thank you so much!

Michael