Skip to content

Comments

Linux: anchor MPRIS position progression and emit advancing events#2

Merged
llominski merged 1 commit intomainfrom
bug/1-linux-playhead-position-does-not-update-in-event-driven-mode
Feb 18, 2026
Merged

Linux: anchor MPRIS position progression and emit advancing events#2
llominski merged 1 commit intomainfrom
bug/1-linux-playhead-position-does-not-update-in-event-driven-mode

Conversation

@llominski
Copy link
Contributor

Use monotonic-time anchored interpolation for Linux MPRIS position updates, including rate/state/track re-anchoring and drift correction. Emit onNowPlayingChanged in event-driven mode when position advances while playing. Update the event-driven example to register all sessions and print initial plus ongoing position changes. Update README wording from virtualized to computed progression.

Fixes #1.

Use monotonic-time anchored interpolation for Linux MPRIS position updates, including rate/state/track re-anchoring and drift correction. Emit onNowPlayingChanged in event-driven mode when position advances while playing. Update the event-driven example to register all sessions and print initial plus ongoing position changes. Update README wording from virtualized to computed progression.

Signed-off-by: Lazar Lominski <lazar@endlesssource.org>
@llominski llominski linked an issue Feb 18, 2026 that may be closed by this pull request
@llominski llominski merged commit 321de74 into main Feb 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: playhead position does not update in event-driven mode

1 participant