mkb79 / audible-cli

A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files.
GNU Affero General Public License v3.0
423 stars 45 forks source link

Add `-f, --force-rebuild-chapters` option to `decrypt` #175

Closed vwkd closed 6 months ago

vwkd commented 6 months ago

This adds a new -f, --force-rebuild-chapters option to decrypt that rebuilds the chapters with chapters from the chapters JSON file even if the built-in chapters in the audio file mismatch. This is useful when the built-in chapters in the audio file are incorrect.

Previously, this would have errored, except when passing the -t, --ignore-missing-chapters option, in which case it would have skipped rebuilding chapters altogether. This also renames the -t, --ignore-missing-chapters option to -t, --skip-rebuild-chapters to make this clearer.

Fixes #174.

mkb79 commented 6 months ago

Thank you for your PR. Very good work!

I wrote two comments about adding some user information. When we talked about it, I'll merge your PR!