summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Carmichael <carmanaught@gmail.com>2020-02-14 14:53:33 +0800
committerwm4 <1387750+wm4@users.noreply.github.com>2020-02-15 20:41:07 +0100
commite162bcb5a09b5ad514636684314e8e797ab2a47b (patch)
tree826cddc7e9253dae50ca374a07fa038547f8953a
parent2160306b312ea206f52a2102f9061c3aebccc50b (diff)
downloadmpv-e162bcb5a09b5ad514636684314e8e797ab2a47b.tar.bz2
mpv-e162bcb5a09b5ad514636684314e8e797ab2a47b.tar.xz
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.
-rw-r--r--TOOLS/lua/autoload.lua12
1 files 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
--]]