[skip ci] various fixes

This commit is contained in:
Brahim Hadriche committed 2026-06-18 12:10:21 -04:00
1 parent 0c7bd4b3e0
commit 0f33f72cc1
7 files changed
+67 -2

No files matched your search

@@ -837,6 +837,12 @@ function OnPosition(event as object) as void
ApplyTransport()
EnforceTransportFreeze() ' OnPosition only fires while playing, so it catches a transport auto-resumed with no state-change edge.
' EnforceTransportFreeze can finish playback (FinishEof at the end of content under a transport), which
' synchronously closes the player and drops m.sponsorblock. A closed player must run no more of the tick.
if m.onCloseCalled = true
return
end if
' SponsorBlock auto-skip off the real position (the controller decides; we apply the seek / finish).
sb = m.sponsorblock.OnPosition(posMs)
if sb <> invalid