fix first pls entry being starred on load

This commit is contained in:
wood 2020-01-17 21:31:19 +03:00
parent 16594a8f29
commit ee5931d683
1 changed files with 4 additions and 0 deletions

View File

@ -443,6 +443,10 @@ function on_start_file()
plsfiltered=tablekeys(pls)
end
mp.commandv("stop")
--need to mark first entry non-current (mpv bug?)
if pls[1] then
pls[1].current = false
end
mp.unregister_event(on_start_file)
activate()
else