Files
librofm-downloader/config.yaml
T
AlexKucera 33aa80b7aa feat(downloader): add M4B download pipeline with resume (closes #5)
Add streaming chunked M4B download via .partial files and atomic
rename, resume support through HTTP Range headers, full CLI
orchestration loop, --verbose flag, and config/secrets templates.

Fix 4 API-shape bugs found during live testing: library endpoint
returns audiobooks not books, M4B endpoint returns m4b_url not url,
narrators nested under audiobook_info, and ISBN int/str type mismatch
in history lookup causing re-downloads.

12 new tests (109 total). 6 books downloaded live (~2.9 GB).
2026-06-03 12:56:41 +02:00

20 lines
620 B
YAML

# libro.fm downloader configuration
# This file is safe to commit — no credentials here.
# Credentials go in secrets.yaml (which is gitignored).
librofm:
# Audio format preference
# m4b_mp3_fallback — try M4B first, fall back to MP3 ZIP (default)
# mp3_only — download MP3 ZIP only
# m4b_only — download M4B only, skip if unavailable
format: m4b_mp3_fallback
# Where downloaded audiobooks are saved
output_dir: ./audiobooks
# Whether to download PDF extras when available
download_extras: true
# Whether to download cover art when available
download_covers: true