From e162bcb5a09b5ad514636684314e8e797ab2a47b Mon Sep 17 00:00:00 2001 From: Thomas Carmichael Date: Fri, 14 Feb 2020 14:53:33 +0800 Subject: TOOLS/lua/autoload.lua: update script comments The example configuration uses values of true/false for the script options. As per DOCS/man/lua.rst boolean values should be represented with yes/no and using true/false will result in an error. This updates the comments and changes the true/false values under the example configuration to yes/no. --- TOOLS/lua/autoload.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua index 92456bc02d..7150abb95e 100644 --- a/TOOLS/lua/autoload.lua +++ b/TOOLS/lua/autoload.lua @@ -2,20 +2,20 @@ -- the currently played file. It does so by scanning the directory a file is -- located in when starting playback. It sorts the directory entries -- alphabetically, and adds entries before and after the current file to --- the internal playlist. (It stops if the it would add an already existing +-- the internal playlist. (It stops if it would add an already existing -- playlist entry at the same position - this makes it "stable".) -- Add at most 5000 * 2 files when starting a file (before + after). --[[ -To configure this script use file autoload.conf in director script-opts (the "script-opts" +To configure this script use file autoload.conf in directory script-opts (the "script-opts" directory must be in the mpv configuration directory, typically ~/.config/mpv/). Example configuration would be: -disabled=false -images=false -videos=true -audio=true +disabled=no +images=no +videos=yes +audio=yes --]] -- cgit v1.2.3