Skip to content

Fix media progress resetting when the notch opens - #14

Merged
xand0dev merged 3 commits into
mainfrom
codex/fix-media-progress
Aug 8, 2026
Merged

Fix media progress resetting when the notch opens#14
xand0dev merged 3 commits into
mainfrom
codex/fix-media-progress

Conversation

@xand0dev

@xand0dev xand0dev commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • include MediaRemote's playback timestamp in helper snapshots
  • project the reported elapsed position to the current time before updating the scrubber
  • preserve paused positions and guard against future timestamps
  • add three regression tests and document the fix

Root cause

MediaRemote's elapsed value belongs to the last system update rather than the instant VoidBar reads it. Opening the notch triggers a manual refresh, so the old value was interpreted as a real backward seek and reset the progress bar.

Validation

  • swift test — 5 tests passed
  • ./Scripts/bundle.sh release — succeeded, including the Objective-C helper
  • git diff --check

@xand0dev
xand0dev merged commit fd2a8bb into main Aug 8, 2026
1 check passed
@xand0dev
xand0dev deleted the codex/fix-media-progress branch August 8, 2026 09:52
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.

1 participant