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.
 
 
 
 
 
 
Pierre Ynard 823aae0fce cli: use make_uri() 15 years ago
..
modules lua: merge telnet interface into rc 15 years ago
README.txt Typo in README.txt file about Lua interface 18 years ago
cli.lua cli: use make_uri() 15 years ago
dummy.lua Misc lua interface changes. 17 years ago
dumpmeta.lua Corrected comments' file name, description and year reference. Cut-and-paste left over. 16 years ago
hotkeys.lua lua: fix hotkeys demo file. 16 years ago
http.lua lua_http: fix /art url 16 years ago
luac.lua Add error handling to luac intf. 16 years ago
telnet.lua lua: rename rc interface to cli 15 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.