vlc/share/lua/intf
Antoine Cellerier f1ea77b736 Misc fixes.
2009-01-18 12:20:38 +01:00
..
modules Update lua intf scripts to new API (untested). 2008-06-15 13:05:55 +02:00
dummy.lua Move lua{intf,playlist,meta} to lua/{intf,playlist,meta}. I haven't been able to check the changes to the Win32 and Mac OS X specific Makefile.am parts. 2008-04-02 22:32:33 +02:00
hotkeys.lua Update lua intf scripts to new API (untested). 2008-06-15 13:05:55 +02:00
http.lua Update lua intf scripts to new API (untested). 2008-06-15 13:05:55 +02:00
rc.lua Misc fixes. 2009-01-18 12:20:38 +01:00
README.txt Typo in README.txt file about Lua interface 2008-12-01 08:23:33 +01:00
telnet.lua Update lua intf scripts to new API (untested). 2008-06-15 13:05:55 +02:00

Instructions to code your own VLC Lua interface script.
$Id$

See lua/README.txt for generic documentation about Lua usage in VLC.

Examples: rc.lua, telnet.lua and http.lua

The "config" global variable is set to the value specified in the
--lua-config VLC option. For example:
--lua-config "rc={a='test',c=3},telnet={a='hello'}"
config will be set to {a='test',c=3} in the rc interface, to {a='hello'}
in the telnet interface and won't be set in other interfaces. 

User defined modules stored in the share/lua/intf/modules/ directory are
available. For example, to use the sandbox module, just use
'require "sandbox"' in your interface.

VLC defines a global vlc object with the following members:
All the VLC specific Lua modules are available.