Page 1 of 1

Is it possible to use Lua, to run main VLC UI functions (show playlist window)?

Posted: 24 Feb 2015 18:56
by nanomir
I read through https://www.videolan.org/developers/vlc ... README.txt, but I couldn't find a reference to this - it would be nice to know explicitly if this is not possible.

This is what I'd like to do: make a dialog, with a button; on press of the button:
  • if the playlist window is not shown, first: save original docking state, check if playlist is docked, if it is, undock it - then show playlist (the same as View / Playlist (Ctrl-L)
  • if the playlist window is shown, then hide it, and finally restore original docking state
Essentially, toggling the display/showing of the playlist from a button on a Lua extension dialog.

Is this possible to do with the Lua extension API for VLC? If so, what commands can I use (or alternately, what examples could I consult?)

Re: Is it possible to use Lua, to run main VLC UI functions (show playlist window)?

Posted: 24 Feb 2015 20:00
by Jean-Baptiste Kempf
No, you cannot do it.

Re: Is it possible to use Lua, to run main VLC UI functions (show playlist window)?

Posted: 25 Feb 2015 16:18
by nanomir
Thanks @Jean-BaptisteKempf, nice to have that confirmed!