6f76b3f15a9fc401f5e645a6149406eaf76a0d79
_seek_relative() was unconditionally calling player.pause() before seeking. mpv's seek command doesn't itself change pause state, so simply not forcing it is enough: paused stays paused, playing keeps playing through the skip. (Frame-step still always pauses, correctly -- that's for precisely inspecting a single frame, a different use case from a coarse 5s nudge.) Verified by calling _seek_relative() directly rather than simulating the QShortcut keypress: a debug script isolated that PlayerWidget.seek() itself works fine while playing, and QTest.keyClick against this shortcut turned out to be unreliable in this headless setup even with Qt's active-window state forced -- consistent with the flakiness already noted in smoke_test_arrow_seek.py. The real key binding itself was already confirmed with live xdotool keypresses in an earlier session; this only needed to test the new state-preservation logic.
Description
No description provided
697 KiB
Languages
Python
99.5%
Shell
0.5%