File: dummy.lua

package info (click to toggle)
vlc 2.2.0~rc2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 180,528 kB
  • sloc: ansic: 354,395; cpp: 93,741; objc: 33,763; sh: 13,938; makefile: 4,266; xml: 1,537; asm: 1,251; python: 240; perl: 77; sed: 16
file content (15 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (12)
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()