What can and can't be done with Lua in VLC

Discuss your Lua playlist, album art and interface scripts.
quu
Blank Cone
Blank Cone
Posts: 55
Joined: 14 Jul 2010 19:09

What can and can't be done with Lua in VLC

Postby quu » 16 Jul 2010 21:19

I have tried looking through the wiki, and I have not really found a "here is all that you can do with lua" page for VLC. I have found bits, and looking through the files on my drive, I am learning more. If I missed a nice global page that explains all this, please help me. I would love a "how to customize VLC" home page that would gather the ways to make skins, http extensions, lua adjustments, and even .dll/so extensions.

I know I can, with lua
with lua "translate" entries in a playlist (this shows how to translate a google video's "view" url in two stages so that vlc can play it.

Can I do more with playlists... i don't know. I would love to have a playlist that would consume (or remove) an entry from the playlist after it has played (or while it is playing?)... can I do this in lua? I don't know

I am not sure what the limit or the framework for extensions are... or what i can do with them

It seams I can also add new interfaces with lua, but what is the limit of those?

etc... it seams, looking through the lua/http folder that I might even be able to embed lua directly into the server side scripting of the http interface, instead of relying on RPN?

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: What can and can't be done with Lua in VLC

Postby Jean-Baptiste Kempf » 16 Jul 2010 22:24

You can do a lot more with lua extensions than all that. You can read all the README.txt in lua/ folder
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.

etr
New Cone
New Cone
Posts: 7
Joined: 13 Oct 2011 12:39

Re: What can and can't be done with Lua in VLC

Postby etr » 21 Oct 2011 01:57

There is mentioned "variables" ! which variables are those (at the very least their names) ? I'd rather not dig inside the source tree as I'm way too busy for that.

edit:

For those clueless here's some info: http://www.videolan.org/developers/vlc/ ... iable.html


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 1 guest