home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 October / maximum-cd-2011-10.iso / DiscContents / vlc-1.1.10-win32.exe / lua / intf / dummy.lua next >
Encoding:
Text File  |  2011-06-05  |  540 b   |  16 lines

  1. --[[ This code is public domain (since it really isn't very interesting) ]]--
  2.  
  3. msg = [[
  4. This is the `dummy' VLC Lua interface module.
  5. Please specify a VLC Lua interface to load with the --lua-intf option.
  6. VLC Lua interface modules include: `rc', `telnet' and `http'.
  7. For example: vlc -I lua --lua-intf rc
  8. You can also use the alternate syntax: vlc -I "lua{intf=rc}"
  9. See share/lua/intf/README.txt for more information about lua interface modules.]]
  10.  
  11. for line in string.gmatch(msg,"([^\n]+)\n*") do
  12.     vlc.msg.err(line)
  13. end
  14.  
  15. vlc.misc.quit()
  16.