Please specify a VLC Lua interface to load with the --lua-intf option.
VLC Lua interface modules include: `rc', `telnet' and `http'.
For example: vlc -I lua --lua-intf rc
-You can also use the alternate syntax: vlc -I "lua{intf=rc}"]]
+You can also use the alternate syntax: vlc -I "lua{intf=rc}"
+See share/lua/intf/README.txt for more information about lua interface modules.]]
for line in string.gmatch(msg,"([^\n]+)\n*") do
vlc.msg.err(line)
function parse_url_request(request)
if not request then return {} end
- t = {}
+ local t = {}
for k,v in string.gmatch(request,"([^=&]+)=?([^=&]*)") do
local k_ = vlc.strings.decode_uri(k)
local v_ = vlc.strings.decode_uri(v)
if value then
local var,val = split_input(value)
if val then
- s = string.gsub(val,"\"(.*)\"","%1")
+ local s = string.gsub(val,"\"(.*)\"","%1")
if type(client.env[var])==type(1) then
client.env[var] = tonumber(s)
else