Chapter track scope (v0.4.3) #7

Merged
mnovak merged 1 commits from fix/track-scope into main 2026-11-17 21:57:20 +01:00
Owner

Fix (v0.4.3): the chapter track was not found in LibriVox M4B files.

Cause: the walker took "the current track" to be the last trak seen, so the hdlr of udta/meta (handler mdir), which follows the tracks, overwrote the text track's handler and the chapter track no longer matched. Now the current track is scoped to its trak box.

Test: the generated M4B now carries udta/meta with its own hdlr after the tracks, as real files do. Workspace green; clippy 0.

Fix (v0.4.3): the chapter track was not found in LibriVox M4B files. Cause: the walker took "the current track" to be the last `trak` seen, so the `hdlr` of `udta/meta` (handler `mdir`), which follows the tracks, overwrote the text track's handler and the chapter track no longer matched. Now the current track is scoped to its `trak` box. Test: the generated M4B now carries `udta/meta` with its own `hdlr` after the tracks, as real files do. Workspace green; clippy 0.
mnovak added 1 commit 2026-11-17 21:57:16 +01:00
mnovak merged commit 388e8e01c4 into main 2026-11-17 21:57:20 +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#7