Page 1 of 1

Available options in XSPF playlists using "vlc:option"

Posted: 23 May 2016 17:47
by marcow
Dear developers and friends,

In XSPF playlists, I can use "<vlc:option>" to set options for VLC inside "<extension application=...>", which in turn is inside "<track>".

There's a wiki article about XSPF which describes this method for setting options. But unfortunately, it gives only three examples, which are "start-time", "stop-time" and "no-audio".

So I turned to the wiki article about the command-line usage to find an extensive list of options that VLC supports, and to check whether these work in XSPF as well.

But I had to find out that most of these options don't work. And when searching for these options online, some posts from this forum showed up where the only reply is: "Yeah, some options don't work for security reasons."

So is there any list of options that are supported in XSPF playlists? Or can one be compiled?

I searched the web extensively, especially this forum, and even tried to find relevant passages in the souce code, but to no effect.

Thanks for your help!

Regards,
Marco

Re: Available options in XSPF playlists using "vlc:option"

Posted: 23 May 2016 21:02
by Jean-Baptiste Kempf
Unfortunately, it's not that simple to aggregate, but it is all the options that are marked as "change_safe" in the source code.

Re: Available options in XSPF playlists using "vlc:option"

Posted: 23 May 2016 22:20
by marcow
Thank you very much!

Are you referring to values that are marked with "change_safe()" below them in the source code, which uses "VLC_CONFIG_SAFE"?

That would include all the following values, none of which I can make work in XSPF playlists:

src\libvlc-module.c
+++ audio
+++ video
+++ fullscreen
+++ video-title-show
+++ width
+++ height
+++ aspect-ratio
+++ zoom
+++ run-time
modules\video_filter\adjust.c
+++ contrast
+++ brightness
+++ hue
+++ saturation
+++ gamma
+++ brightness-threshold
modules\access\dshow\dshow.cpp
+++ aspect-ratio or dshow-aspect-ratio
+++ fps or dshow-fps
modules\access\http.c
+++ http-referrer
+++ http-user-agent
modules\access\screen\wayland.c
modules\access\screen\xcb.c
+++ screen-left
+++ screen-top
+++ screen-width
+++ screen-height

On the other hand, both "no-audio" and "no-video" are *not* marked as such and they *do* work in XSPF playlists.