fix first pls entry being starred on load
This commit is contained in:
parent
16594a8f29
commit
ee5931d683
4
iptv.lua
4
iptv.lua
@ -443,6 +443,10 @@ function on_start_file()
|
|||||||
plsfiltered=tablekeys(pls)
|
plsfiltered=tablekeys(pls)
|
||||||
end
|
end
|
||||||
mp.commandv("stop")
|
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)
|
mp.unregister_event(on_start_file)
|
||||||
activate()
|
activate()
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user