From 91a1b17104e6417cb2c77c838c85fabcff9e7d11 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 14 Jul 2016 20:04:59 +0200 Subject: Use - as command-name separator everywhere Old-style commands using _ as separator (e.g. show_progress) were still used in some places, including documentation and configuration files. This commit updates all such instances to the new style (show-progress) so that commands are easier to find in the manual. --- player/lua/osc.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'player/lua/osc.lua') diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 23f7cc6d19..09142e0813 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -1383,7 +1383,7 @@ function osc_init() ne.content = "\238\132\144" ne.visible = have_pl ne.eventresponder["mouse_btn0_up"] = - function () mp.commandv("playlist_prev", "weak") end + function () mp.commandv("playlist-prev", "weak") end ne.eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property_osd("playlist"), 3) end @@ -1393,7 +1393,7 @@ function osc_init() ne.content = "\238\132\129" ne.visible = have_pl ne.eventresponder["mouse_btn0_up"] = - function () mp.commandv("playlist_next", "weak") end + function () mp.commandv("playlist-next", "weak") end ne.eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property_osd("playlist"), 3) end @@ -1421,7 +1421,7 @@ function osc_init() ne.eventresponder["mouse_btn0_down"] = function () mp.commandv("seek", -5, "relative", "keyframes") end ne.eventresponder["shift+mouse_btn0_down"] = - function () mp.commandv("frame_back_step") end + function () mp.commandv("frame-back-step") end ne.eventresponder["mouse_btn2_down"] = function () mp.commandv("seek", -30, "relative", "keyframes") end @@ -1433,7 +1433,7 @@ function osc_init() ne.eventresponder["mouse_btn0_down"] = function () mp.commandv("seek", 10, "relative", "keyframes") end ne.eventresponder["shift+mouse_btn0_down"] = - function () mp.commandv("frame_step") end + function () mp.commandv("frame-step") end ne.eventresponder["mouse_btn2_down"] = function () mp.commandv("seek", 60, "relative", "keyframes") end -- cgit v1.2.3