mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
2160306b31
commit
e162bcb5a0
|
@ -2,20 +2,20 @@
|
||||||
-- the currently played file. It does so by scanning the directory a file is
|
-- the currently played file. It does so by scanning the directory a file is
|
||||||
-- located in when starting playback. It sorts the directory entries
|
-- located in when starting playback. It sorts the directory entries
|
||||||
-- alphabetically, and adds entries before and after the current file to
|
-- 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".)
|
-- playlist entry at the same position - this makes it "stable".)
|
||||||
-- Add at most 5000 * 2 files when starting a file (before + after).
|
-- 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/).
|
directory must be in the mpv configuration directory, typically ~/.config/mpv/).
|
||||||
|
|
||||||
Example configuration would be:
|
Example configuration would be:
|
||||||
|
|
||||||
disabled=false
|
disabled=no
|
||||||
images=false
|
images=no
|
||||||
videos=true
|
videos=yes
|
||||||
audio=true
|
audio=yes
|
||||||
|
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue