mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
Every ten-second jump (double tap, D-pad, remote transport keys, the skip buttons and the media session's nudge) seeked to a position the app had read up to 250 ms earlier, precisely, and synchronously on the UI thread. Holding a D-pad key fired a seek per repeat, each one cancelling the block the last one was fetching, and the base position lagged, so fast presses moved less than they should. They now send mpv a relative seek, asynchronously. mpv adds a relative seek to one still queued, so ten presses are one jump of a hundred seconds from mpv's own position. A held key's repeats land on keyframes; a single press stays exact.