Commit graph

17 commits

Author SHA1 Message Date
mkb79
0c0506a14e bump Audible to v0.7.1 2022-03-27 19:40:06 +02:00
mkb79
5f0b9dfab9 add update-check command 2022-03-11 22:12:00 +01:00
mkb79
5492a8ae13
v0.1.0 (#59)
# Added

- add the `api` command to make requests to the AudibleAPI
- a counter of downloaded items for the download command
- the `--verbosity/-v` option; default is INFO
- the `--bunch-size` option to the download, library export and library list subcommand; this is only needed on slow internet connections
- `wishlist` subcommand
- the `--resolve-podcasts` flag to download subcommand; all episodes of a podcast will be fetched at startup, so a single episode can be searched via his title or asin
- the `--ignore-podcasts` flag to download subcommand; if a podcast contains multiple episodes, the podcast will be ignored
- the`models.Library.resolve_podcasts` method to append all podcast episodes to given library.
- the `models.LibraryItem.get_child_items` method to get all episodes of a podcast item or parts for a MultiPartBook.
- the`models.BaseItem` now holds a list of `response_groups` in the `_response_groups` attribute. 
- the`--format` option to `library export` subcommand
- the `models.Catalog` class
- the `models.Library.from_api_full_sync` method to fetch the full library

# Changed

- the `--aaxc` flag of the download command now try to check if a voucher file exists before a `licenserequest` is make (issue #60)
- the `--aaxc` flag of the download command now downloads mp3/m4a files if the `aaxc` format is not available and the `licenserequest` offers this formats
- the `download` subcommand now download podcasts
- *Remove sync code where async code are available. All plugins should take care about this!!!*
- Bump `audible` to v0.7.0
- rebuild `models.LibraryItem.get_aax_url` to build the aax download url in another way 
- `models.BaseItem.full_title` now contains publication name for podcast episodes
- `models.LibraryItem` now checks the customer rights when calling `LibraryItem._is_downloadable`
- `models.BaseItem` and `models.BaseList` now holds the `api_client` instead the `locale` and `auth`
- rename `models.Wishlist.get_from_api` to `models.Wishlist.from_api`
- rename `models.Library.get_from_api` to `models.Library.from_api`; this method does not fetch the full library for now

# Misc

- bump click to v8

# Bugfix

- removing an error using the `--output` option of the `library export` command
- fixing some other bugs
2022-03-11 08:44:02 +01:00
mkb79
4ade6261cf
Bump audible to v0.0.7 2022-01-26 06:38:30 +01:00
mkb79
28bd2808a8 Add binary for win and spec file for pyinstaller 2022-01-13 09:11:55 +01:00
mkb79
1685c5fd57
Dev (#43)
* 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
2022-01-06 09:30:49 +01:00
mkb79
16773b7982
Bump version to v0.0.2 2021-10-21 23:29:02 +02:00
dependabot[bot]
dc8958ca46
Update httpx requirement from ==0.18.* to >=0.18,<0.21 (#37) 2021-10-19 20:43:06 +00:00
mkb79
5059dda576
Update setup.py
Update audible to v0.5.5 and httpx to v0.18.*
2021-08-26 06:22:10 +02:00
mkb79
044e856afb Recode package
# Added

- Set a custom plugin dir via environment variable
- Provide plugin packages where commands can hook in audible command.

# Changed

- Plugin commands are now placed in the command root instead of ``plugin-cmds`` subcommand. So replacing of build-in commands are possible.

# Removed

- The `--config`` option. A custom config dir can now only be set via environment variable.
- The `--plugins`` option. A custom plugin dir can now only be set via environment variable

# Misc

- Some code optimations
2021-01-28 17:24:38 +01:00
mkb79
ed2fa51570
bump audible version 2021-01-08 19:41:11 +01:00
mkb79
740d6a12ef Package Changes
- Add ``cover-size`` option to ``audible download``. Default cover size is 500. Naming of cover files contains size for now.
- BUGFIX closing ``client`` and ``api_client`` correctly
- Reformating code
- Rework ``models`` and ``cmd_download`` module
2020-12-13 15:44:44 +01:00
mkb79
6ca7b696de
rework audible-cli package / add plugin-cmds 2020-12-10 13:21:31 +01:00
mkb79
fdb9f4c248
issue 4: some changes downloading aaxc (#5)
* some changes downloading aaxc
* uses `audible` v0.4.4 who fix an error on decrypting voucher for aaxc files
2020-10-25 22:42:51 +01:00
mkb79
cd502f3b6d
add option to download aaxc / some redesigns
- download aaxc files with voucher file for further purpose
- move functions to config.py and some redesigns
2020-10-16 12:16:13 +02:00
mkb79
149cb3add5
Update setup.py
audible v0.4.0 have an install error on clean installations. audible-cli requires at least audible v0.4.1 for now.
2020-09-03 08:57:18 +02:00
mkb79
859345bc39
first step 2020-09-02 15:02:35 +02:00