Browse Source

Merge remote-tracking branch 'upstream/master'

master
blank X 6 months ago
parent
commit
042c19e28b
Signed by: blankie GPG Key ID: CC15FC822C7F61F5
  1. 8
      sponsorblock_minimal.lua

8
sponsorblock_minimal.lua

@ -65,6 +65,13 @@ function file_loaded()
return
end
function end_file()
if not ON then return end
mp.unobserve_property(skip_ads)
ranges = nil
ON = false
end
function toggle()
if ON then
mp.unobserve_property(skip_ads)
@ -79,3 +86,4 @@ function toggle()
end
mp.register_event("file-loaded", file_loaded)
mp.register_event("end-file", end_file)

Loading…
Cancel
Save