]> git.sesse.net Git - vlc/blob - share/lua/http/custom.lua
appletrailers_iphone: remove debug message
[vlc] / share / lua / http / custom.lua
1 local _G = _G
2 module("custom",package.seeall)
3
4 local dialogs = setmetatable({}, {
5 __index = function(self, name)
6     -- Cache the dialogs
7     return rawget(self, name) or
8            rawget(rawset(self, name, process(http_dir.."/dialogs/"..name)), name)
9 end})
10
11 _G.dialogs = function(...)
12     for i=1, select("#",...) do
13         dialogs[(select(i,...))]()
14     end
15 end
16
17 _G.vlm = vlc.vlm()