Page 1 of 1

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

Posted: 16 Jul 2010 21:19
by quu
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?

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

Posted: 16 Jul 2010 22:24
by Jean-Baptiste Kempf
You can do a lot more with lua extensions than all that. You can read all the README.txt in lua/ folder

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

Posted: 21 Oct 2011 01:57
by etr
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