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. --- TOOLS/lua/autoload.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TOOLS') diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua index 1f22bb40e2..fa56a3de4c 100644 --- a/TOOLS/lua/autoload.lua +++ b/TOOLS/lua/autoload.lua @@ -25,7 +25,7 @@ function add_files_at(index, files) local oldcount = mp.get_property_number("playlist-count", 1) for i = 1, #files do mp.commandv("loadfile", files[i], "append") - mp.commandv("playlist_move", oldcount + i - 1, index + i - 1) + mp.commandv("playlist-move", oldcount + i - 1, index + i - 1) end end -- cgit v1.2.3