From ee5931d683b55fc885771f21c94b97b92723e615 Mon Sep 17 00:00:00 2001 From: wood Date: Fri, 17 Jan 2020 21:31:19 +0300 Subject: [PATCH] fix first pls entry being starred on load --- iptv.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iptv.lua b/iptv.lua index ea37440..9ce6c53 100644 --- a/iptv.lua +++ b/iptv.lua @@ -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