Skip to content

v0.1.3

Latest

Choose a tag to compare

@tqdat410 tqdat410 released this 22 Mar 11:40

Bug Fixes

  • queue: prevent orphaned suppress count when skip races with natural track finish (ba0eaef)

    When a track finishes naturally at the exact moment skip() is called, an idle-active event could fire during an internal await, clearing mpv's track state while the queue still thought something was playing. This caused suppressNextStopped to increment without a matching stop IPC command, silently swallowing the next track's finish event and freezing auto-advance (stuck at duration 0).

    Fixes:

    • Guard suppressNextStopped + stop on mpv.getCurrentTrack() instead of queue state to prevent orphaned suppress count
    • Add playback generation counter to discard stale handleStopped callbacks after skip/replace/stop-reset