* Skip overwrite voucher file if existing
* changing activation_bytes command behavior
- remove `save` flag
- add `reload` flag
- informational messages are now print to stderr
The command will now save fetched activation bytes to auth file and
will reload it from file. Using `reload` flag will fetch activation
bytes again.
* message handling of download command
Some information messages are now printed out to stderr
* prevent issues when using external login (importing readline module)
* set minimum click version to 7
* bugfixes
These PR contains a filename mode options when using the `audible download` command.
It can be used in these ways and order:
1. Using `audible download ... --filename-mode ***`
2. Add the `filename_mode` option to the profile section of the config file (using `audible manage config edit`) to use it with these profile.
3. Add the `filename_mode` option to the APP section of the config file (using `audible manage config edit`) to use it on all profiles.
4. If no setting is provided, the `ascii` mode is used (like before)
The filename mode supports these values:
- ascii: Same filename mode like before these changes
- asin_ascii: Add the asin of the book and a underscore before the ascii filename
- unicode: Using a unicode filename scheme.
- asin_unicode: Like unicode but add the asin of the book and a underscore before
Underline activation_bytes is incorrect.
Call `audible -h` to let you show all main subcommands. At this time, there
are the `activation_bytes`, `download`, `library` and `manage` subcommands.
The `manage` command has multiple subcommands. So take a look with the
`audible manage -h` and `audible manage <subcommand> -h`.
* Provide a command to list library titles
..just about what the name says. It lists them sorted in the following format:
[comma-separated alpha authors]: [comma-separated alpha series]: <title>
So, for some examples:
A mysterious book without authors or series
Anonymous Adventures: Volume 1 - The Sky is the Limit
Anonymous Adventures: Volume 2 - The Dark Sea
Bob Noscovesk, Tim Mu: Fantastic Animals, The Best Animals Collection: How I met my cat and fell in love
Bob Noscovesk, Tim Mu: Fantastic Animals, The Best Animals Collection: Reddit Copypasta (hardcopy)
Tim Mu: How I became tired of meaningless happiness derived from cute things
Quitting Smoking - Collected anonymous anecdotes
This will usually show up as intended. However, in the case of *some* books having multiple series/authors and *others* not having that, the sorting might be weird in some cases:
Author A, Author C: Moxy Mysteries: A cat without a name
Author B: A great Standalone Piece of Fiction by Me!
Author C: Moxy Mysteries: The dog with no dog breath
The vast majority of books have an author, though, and a title, or at least a consistent set of authors, and outliers still get listed, they just might not show up where someone would expect.
* Update cmd_library.py
* Bump version
Co-authored-by: mkb79 <mkb79@hackitall.de>