You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jean-Baptiste Kempf ebe6e7de1b Lua.cli: improve lua 5.3 compatibility 11 years ago
..
modules input: switch spu and audio delay variables to integer type 11 years ago
README.txt Typo in README.txt file about Lua interface 18 years ago
cli.lua Lua.cli: improve lua 5.3 compatibility 11 years ago
dummy.lua lua: don't document rc and telnet, they're gone 15 years ago
dumpmeta.lua lua: do not check for should_die (always false here) 13 years ago
http.lua lua: http: fix artwork not being displayed on windows. 12 years ago
luac.lua lua: document the use of -I luaintf instead of -I lua 15 years ago
telnet.lua cli: add a command to load the VLM 15 years ago
test.lua Lua: remove the timers API 14 years ago

README.txt

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.