Commit graph

179 commits

Author SHA1 Message Date
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
mkb79
740ccf7f3b
release v0.1.3 2022-03-27 20:08:31 +02:00
mkb79
8537001a79 bump version to v0.1.2 2022-03-27 19:40:54 +02:00
mkb79
0c0506a14e bump Audible to v0.7.1 2022-03-27 19:40:06 +02:00
mkb79
1a4ce10850
Correct download links in README.md (#65) 2022-03-22 10:55:25 +01:00
mkb79
c0a1098410
Update README.md 2022-03-21 15:33:20 +01:00
mkb79
93b67d2157
release v0.1.1 2022-03-20 20:43:48 +01:00
mkb79
7d5607357b
Update CHANGELOG.md and bump dev version 2022-03-18 11:37:11 +01:00
mkb79
71f2605f91
fix an issue with requesting download urls for aax files (#62)
In some cases, requesting a download url with the new method fails. It
will give a url but with a wrong codec. These url result in an error,
when downloading these files.
As a workaround I've added the old download url creation method. This
will work until I found a better method!
2022-03-18 11:28:12 +01:00
mkb79
08d8647ec2
fix issue downloading some aax file (#62) 2022-03-18 11:19:41 +01:00
mkb79
673850698c
fix a bug where counting an item if they are not downloaded 2022-03-18 11:16:53 +01:00
mkb79
0c8e9504d2
Update README.md (#64)
The command is named `pyinstaller` and not `pyinstall`.
2022-03-18 05:49:13 +01:00
mkb79
aace7b38ba
Update README.md 2022-03-15 22:27:22 +01:00
mkb79
621336a94a
Update README.md 2022-03-15 18:00:15 +01:00