summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-20 22:04:36 +0200
committerwm4 <wm4@nowhere>2015-08-20 22:04:36 +0200
commit9cd929bf79f3426d0b7fd5954c0c2b6d94c9a45f (patch)
tree1e3dbb999aefe469b0622d7e240d255b3cbf5922
parentaddbf8faae4b3c916d152223305cad58ded3e469 (diff)
downloadmpv-9cd929bf79f3426d0b7fd5954c0c2b6d94c9a45f.tar.bz2
mpv-9cd929bf79f3426d0b7fd5954c0c2b6d94c9a45f.tar.xz
TOOLS/lua/autoload: add all files on start
Or almost. I don't know or care. Fixes #2219 (maybe, I don't know or care).
-rw-r--r--TOOLS/lua/autoload.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua
index ffe6ddba15..454f7fce9b 100644
--- a/TOOLS/lua/autoload.lua
+++ b/TOOLS/lua/autoload.lua
@@ -4,8 +4,8 @@
-- alphabetically, and adds entries before and after the current file to
-- the internal playlist. (It stops if the it would add an already existing
-- playlist entry at the same position - this makes it "stable".)
--- Add at most 5 * 2 files when starting a file (before + after).
-MAXENTRIES = 5
+-- Add at most 5000 * 2 files when starting a file (before + after).
+MAXENTRIES = 5000
function Set (t)
local set = {}