mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
autoload.lua: fix autoloading of files to prepend
This used the wrong index variable, and thus didn't work.
This commit is contained in:
parent
2309bb91cc
commit
0e1ab2a8da
@ -52,7 +52,7 @@ function find_and_add_entries()
|
||||
end
|
||||
end
|
||||
if dir == -1 then
|
||||
if current == 1 then -- never add additional entries in the middle
|
||||
if pl_current == 1 then -- never add additional entries in the middle
|
||||
mp.msg.info("Prepending " .. file)
|
||||
table.insert(append[-1], 1, file)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user