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

Discuss your Lua playlist, album art and interface scripts.
nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

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

Postby nanomir » 24 Feb 2015 18:56

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

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: Is it possible to use Lua, to run main VLC UI functions (show playlist window)?

Postby Jean-Baptiste Kempf » 24 Feb 2015 20:00

No, you cannot do 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.

nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

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

Postby nanomir » 25 Feb 2015 16:18

Thanks @Jean-BaptisteKempf, nice to have that confirmed!


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests