Commit Graph
1 Commits
Author SHA1 Message Date
AlexKuceraandClaude Opus 4.6 b6df4e3a9b feat(downloader): add rename_chapters for MP3 chapter title renaming
Add standalone rename_chapters(output_dir, tracks, book_title) -> int
function that renames extracted MP3 files to include chapter titles
from the Libro.fm download manifest. Features: natural sort by numeric
prefix, auto zero-padding from track count, null/blank title fallback
to "Chapter N", sanitization via existing sanitize(). 11 tests, all
passing. Closes #32.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-05 15:26:04 +02:00