1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

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).
This commit is contained in:
wm4 2015-08-20 22:04:36 +02:00
parent addbf8faae
commit 9cd929bf79

View File

@ -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 = {}