mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(playback): stop external player position polling that starts after exit (#1720)
MPV and VLC wait 2 s and 1.5 s before their first position poll, but the delay timer was never stored, so stopping the poll during that wait could not cancel it. A player that exited, errored or was replaced early left a 5 s (MPV) or 2 s (VLC) interval polling a dead socket or RC port until the next launch or app quit. Keep the delay handle and clear it with the interval. Co-authored-by: 4gray <fourgray@proton.me> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+222
-2
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
type: fix
|
||||
area: playback
|
||||
---
|
||||
|
||||
Closing MPV or VLC within the first seconds of playback no longer leaves the
|
||||
app checking the closed player's position in the background until it quits.
|
||||
Reference in new issue
Block a user