Audiobook position (v0.4.1) #5

Merged
mnovak merged 1 commits from feature/audio-position into main 2026-11-17 21:27:36 +01:00
Owner

Day 4 follow-up (v0.4.1): an audiobook position that syncs to the second.

  • Op::AudioPosition { book, sha256, ms }, folded into Book.audio_position (latest write by HLC wins; sha256 must be 64 hex, ms under 1,000 hours); replayed by the export.
  • Test (liber-library/tests/words.rs): two devices, any arrival order, the latest write to the millisecond, a malformed event dropped, export round trip. Workspace 109 tests green; clippy 0.

Self-review: last-writer-wins is right for "where was I" (the roadmap tracks positions separately from the e-book in this version); a furthest-position rule like the e-book one is not needed for audio, where people rewind on purpose.

Day 4 follow-up (v0.4.1): an audiobook position that syncs to the second. - `Op::AudioPosition { book, sha256, ms }`, folded into `Book.audio_position` (latest write by HLC wins; sha256 must be 64 hex, ms under 1,000 hours); replayed by the export. - Test (`liber-library/tests/words.rs`): two devices, any arrival order, the latest write to the millisecond, a malformed event dropped, export round trip. Workspace 109 tests green; clippy 0. Self-review: last-writer-wins is right for "where was I" (the roadmap tracks positions separately from the e-book in this version); a furthest-position rule like the e-book one is not needed for audio, where people rewind on purpose.
mnovak added 1 commit 2026-11-17 21:27:29 +01:00
mnovak merged commit 31cf11cbbe into main 2026-11-17 21:27:36 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/Liber-public#5