File: dummy.lua

package info (click to toggle)
vlc 3.0.22-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 208,324 kB
  • sloc: ansic: 443,399; cpp: 111,127; objc: 36,399; sh: 6,737; makefile: 6,623; javascript: 4,902; xml: 1,611; asm: 1,355; yacc: 644; python: 321; lex: 88; perl: 77; sed: 16
file content (15 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--[[ This code is public domain (since it really isn't very interesting) ]]--

msg = [[
This is the `dummy' VLC Lua interface module.
Please specify a VLC Lua interface to load with the --lua-intf option.
VLC Lua interface modules include: `cli' and `http'.
For example: vlc -I luaintf --lua-intf cli
You can also use the alternate syntax: vlc -I "luaintf{intf=cli}"
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)
end

vlc.misc.quit()