feat: implement chapter splitting with hierarchical output and short CLI options

- Add comprehensive chapter splitting functionality
- Support hierarchical and flat output structures
- Add smart chapter merging to prevent audio gaps
- Implement flexible chapter naming formats
- Add duration filtering for chapters
- Add short CLI options for all flags (-v, -d, -f, -t, -m, -T)
- Update README with complete documentation
- Add support for OGG and M4A output formats
- Improve error handling and validation
This commit is contained in:
2025-09-18 20:49:28 +02:00
parent f8cca3e848
commit 9165c0e95d
8 changed files with 1245 additions and 164 deletions

View File

@@ -1,19 +1,20 @@
[package]
name = "audible-util"
version = "0.1.0"
version = "0.3.0"
edition = "2021"
description = "A utility for converting Audible .aaxc files to common audio formats (mp3, wav, flac), with optional splitting by chapters."
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
clap = { version = "4.5", features = ["derive"] }
crossterm = "0.28"
crossterm = "0.29"
Inflector = { version = "0.11", default-features = false }
anyhow = "1.0"
log = "0.4"
env_logger = "0.11"
indicatif = "0.17"
which = "6.0"
indicatif = "0.18"
which = "8.0"
[dev-dependencies]
assert_cmd = "2.0"
tempfile = "3.10"