From b88c8f40abb8dffed2f920deb38724835023c836 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 31 Jan 2013 18:54:05 +0200 Subject: [PATCH] Lua RC: remove non-working menu command --- share/lua/intf/cli.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/share/lua/intf/cli.lua b/share/lua/intf/cli.lua index 765928387a..558952d115 100644 --- a/share/lua/intf/cli.lua +++ b/share/lua/intf/cli.lua @@ -506,15 +506,6 @@ function listvalue(obj,var) end end -function menu(name,client,value) - local map = { on='show', off='hide', up='up', down='down', left='prev', right='next', ['select']='activate' } - if map[value] and vlc.osd.menu[map[value]] then - vlc.osd.menu[map[value]]() - else - client:append("Unknown menu command '"..tostring(value).."'") - end -end - function hotkey(name, client, value) if not value then client:append("Please specify a hotkey (ie key-quit or quit)") @@ -584,7 +575,6 @@ commands_ordered = { { "snapshot"; { func = common.snapshot; help = "take video snapshot" } }; { "strack"; { func = skip(listvalue("input","spu-es")); args = "[X]"; help = "set/get subtitles track" } }; { "hotkey"; { func = hotkey; args = "[hotkey name]"; help = "simulate hotkey press"; adv = true; aliases = { "key" } } }; - { "menu"; { func = menu; args = "[on|off|up|down|left|right|select]"; help = "use menu"; adv = true } }; { "" }; { "vlm"; { func = load_vlm; help = "load the VLM" } }; { "set"; { func = set_env; args = "[var [value]]"; help = "set/get env var"; adv = true } }; -- 2.39.2