Commit graph

192 commits

Author SHA1 Message Date
mkb79
5902546551
update build.yml 2023-09-27 09:21:25 +02:00
mkb79
bcde02e6af
update build.yml 2023-09-27 09:17:56 +02:00
mkb79
c10ed82985
update build.yml 2023-09-27 08:40:21 +02:00
mkb79
1dcb605a3e
ci: rework build gh action 2023-09-27 07:55:29 +02:00
mkb79
4398a4f268
ci: fix spelling on gh action publish 2023-09-26 21:36:38 +02:00
mkb79
377c3771af
ci: update gh sction publish 2023-09-26 21:33:07 +02:00
mkb79
69504d6205
feat: load marketplaces dynamically from audible package (#157)
* feat: dynamically load available marketplaces

* docs: modify CHANGELOG

* build: bump version 0.2.4 > 0.2.5
2023-09-26 20:22:23 +02:00
mkb79
acbfa2da7c
docs: Update README.md (#152) 2023-07-26 07:24:12 +02:00
mkb79
59ec48189d
Delete cmd_remove-encryption.py
Added new cmd_decrypt.py file in plugin_cmds
2023-02-23 15:33:18 +01:00
mkb79
9bbfa5c1a4
Create cmd_decrypt.py 2023-02-23 15:32:17 +01:00
mkb79
6af331f43a
Release v0.2.4 2022-09-21 13:33:46 +02:00
mkb79
c1b2d1db52
rework start_date and end_date option (#124) 2022-09-19 14:14:57 +02:00
mkb79
1318c6d7d1
Add support to download multiple cover sizes 2022-09-07 12:42:16 +02:00
mkb79
fb365311ae release v0.2.3 2022-09-06 21:32:03 +02:00
mkb79
cf17c05c7e Update CHANGELOG.md 2022-09-06 21:31:43 +02:00
mkb79
33533583a2 count downloaded AYCL items 2022-09-06 21:24:24 +02:00
mkb79
0924df43b0
Extend download command and other optimizations
- check a download link before reuse them
- `--ignore-errors` flag of the download command will now continue if on item failed to download
- add the `--start-date` and `--end-date` option to the `library list` and `library export` command
- make sure an item is published before downloading the aax, aaxc or pdf file
2022-09-06 21:13:16 +02:00
mkb79
107fc75f36
Update CHANGELOG.md 2022-09-01 17:53:10 +02:00
mkb79
cf7d6c02cf
add start-date and end-date option to library export and list command (#116) 2022-09-01 17:49:30 +02:00
mkb79
5390a4fea1
Update CHANGELOG.md 2022-08-31 20:55:52 +02:00
Isaac Lyons
c53e4d2126
Add start-date and end-date option to download command 2022-08-31 20:51:55 +02:00
mkb79
1c201b3596
make some license response error messages to debug messages 2022-08-31 16:18:20 +02:00
mkb79
4787794588
extend error handling for license denied responses 2022-08-31 08:52:55 +02:00
mkb79
09c0b00d69
better error handling for license requests 2022-08-31 08:30:58 +02:00
mkb79
e6808c33dd
release v0.2.2 2022-08-09 08:41:18 +02:00
mkb79
0ae303f181
Bugfix: PDFs could not be downloaded using the download command (#112) 2022-08-08 18:10:59 +02:00
mkb79
94e2d9a713
Release v0.2.1 2022-07-29 16:55:10 +02:00
mkb79
e9f6870295
update CHANGELOG.md 2022-07-27 04:57:09 +02:00
mkb79
35d795ffeb
fix models.Library.from_api_full_sync 2022-07-27 04:56:55 +02:00
mkb79
4bfe54a23f
update CHANGELOG.md 2022-07-26 09:48:37 +02:00
mkb79
8adeb17776
reduce response_groups for the download command (#109) 2022-07-26 09:48:23 +02:00
mkb79
d75f397219
update CHANGELOG.md 2022-07-25 13:28:06 +02:00
mkb79
e148600d15
Merge pull request #111 from snowskeleton/master 2022-07-25 11:37:31 +02:00
Isaac Lyons
fa29c69f24 Added extended_product_description to keys with raw values. 2022-07-24 20:57:27 -04:00
mkb79
709baa3b7a
rework cmd_remove-encryption plugin command
- decrypting aaxc files: now looks for chapter information in the
chapter file if they are not in the voucher file
- adding `-r` shortcut to `--rebuild-chapters` flag
- adding `--separate-intro-outro, -s` flag
- adding `--ignore-missing-chapters, -t` flag
- to reach the same behave like before this update, provide `-rst` flag
- the ffmpeg command now uses `-v quiet` and `-stats` flag to reduce
output
2022-07-21 14:59:56 +02:00
mkb79
4100e9a02f
Fix: requesting chapter does not work anymore #108 2022-07-21 06:51:28 +02:00
mkb79
3c70d382fb
Merge pull request #106 from mkb79/#92
#92 Rework licenserequest and fix an issue
2022-07-19 21:27:53 +02:00
mkb79
c29d0fa0b8
Fix: set quality to High when make a licenserequest
Due to a change to the Audible API, a licenserequest with the quality
`Extreme` no longer works. Changing quality to `High` as a workaround.
2022-07-19 21:25:07 +02:00
mkb79
289a5ce8d8
Fix: download command continues execution after error #104 2022-07-01 07:35:04 +02:00
Billie Thompson
3e3c679e69
If the is no title fallback to an empty string (#98)
in some instances full title can be None, and unicodedata.normalize
requires a string. A better approach might be to work out why title is
None, but this fixes that issue for now.
2022-06-23 13:04:06 +02:00
Billie Thompson
8582396b03
Support nested chapters (#102)
Relates-to: #99
2022-06-23 13:03:04 +02:00
Billie Thompson
0fef098bd7
Currently paths with dots will break the decrypt this correct that (#97)
This problem is caused by "with_suffix" replacing the suffix and not
just adding a new suffix on the end. We can fix this by adding the
"json" to the with_name, so it doesn't remove everything after the first
".".

Co-authored-by: mkb79 <mkb79@hackitall.de>
2022-06-22 06:45:22 +02:00
Billie Thompson
5769460983
Allow book tiltes with hyphens (#96)
Currently we take the first value before the hyphen, unfortunately books
sometimes have hyphens in the titles meaning that the command will fail.
A simple fix for this is to limit the number of splits that we do once
we have found the end delimiter.
2022-06-22 06:38:41 +02:00
Johan Pretorius
a785ff50b9
Added explanation in README.md for creating a second profile (#94) 2022-06-19 08:19:09 +02:00
mkb79
755240d132
licenserequest (voucher) will not request chapter by default #92 2022-06-05 21:19:48 +02:00
mkb79
6061615b23 release v0.2.0 2022-06-01 16:08:26 +02:00
mkb79
90707a8817
v0.2 (#80)
# Added

- `--aax-fallback` option to `download` command to download books in aax format and fallback to aaxc, if the book is not available as aax
- `--annotation` option to `download` command to get bookmarks and notes
- `questionary` package to dependencies
- `add` and `remove` subcommands to wishlist
- `full_response_callback` to `utils`
- `export_to_csv` to `utils`
- `run_async` to `decorators`
- `pass_client` to `decorators`
- `profile_option` to `decorators`
- `password_option` to `decorators`
- `timeout_option` to `decorators`
- `bunch_size_option` to `decorators`
- `ConfigFile.get_profile_option` get the value for an option for a given profile
- `Session.selected.profile` to get the profile name for the current session
- `Session.get_auth_for_profile` to get an auth file for a given profile
- `models.BaseItem.create_base_filename` to build a filename in given mode
- `models.LibraryItem.get_annotations` to get annotations for a library item

# Changed

- bump `audible` to v0.8.2 to fix a bug in httpx
- rework plugin examples in `plugin_cmds`
- rename `config.Config` to `config.ConfigFile`
- move `click_verbosity_logger` from `_logging` to `decorators` and rename it to `verbosity_option`
- move `wrap_async` from `utils` to `decorators`
- move `add_param_to_session` from `config` to `decorators`
- move `pass_session` from `config` to `decorators`
- `download` command let you now select items when using `--title` option

# Fixed

- the `library export` and `wishlist export` command will now export to `csv` correctly
2022-05-25 14:56:41 +02:00
mkb79
88cbd94a86 Update README.md 2022-05-17 08:50:35 +02:00
mkb79
54a879c52e
Create cmd_listening-stats.py 2022-04-11 07:08:03 +02:00
mkb79
8c11676d54 Allow httpx version 0.20 - 0.22 2022-04-09 19:15:04 +02:00