Commit graph

213 commits

Author SHA1 Message Date
mkb79
7f01949413 Update audible-cli version
The version of the audible-cli package has been updated from "0.3.2b1" to "0.3.2b2". This version upgrade reflects changes made to the functionality or features of the package.
2024-03-31 11:57:09 +02:00
mkb79
48946ab8b8
feat: Add option to download flat chapters (#200)
* Adjust get_content_metadata method in audible_cli model

Updated the get_content_metadata method to accept a new parameter 'chapter_type'. This adjustment also enables passing additional request parameters via **request_kwargs, allowing for more flexible HTTP requests.

* Add chapter type parameter to download chapters function

The download_chapters function has been updated to include 'chapter_type' as a parameter to support different types of chapters. It also modifies the get_content_metadata method to handle the new argument. This makes API interaction more adaptive by facilitating more varied request parameters.

* Update CHANGELOG.md
2024-03-31 11:55:23 +02:00
mkb79
24c57ec73e Update audible-cli version
The version of audible-cli has been updated from 0.3.1 to 0.3.2b1. This update may involve bugs fixes, improvements, or new features in the audible-cli package.
2024-03-24 23:01:53 +01:00
mkb79
513b97a3cc
refactor: downloader head request (#196)
* Replace HEAD request with faster GET request in downloader

Switched from a HEAD to a GET request without loading the body in the get_head_response method. This change improves the program's speed, as the HEAD request was taking considerably longer than a GET request to the same URI.

* Update CHANGELOG.md
2024-03-24 22:58:59 +01:00
mkb79
45bd5820ad
refactor: rework skip podcast options of download command (#195)
* Improve podcast ignore feature in downloader

Added conditional code in the cmd_download.py file to ignore any items that are parent podcasts if the ignore_podcasts flag is set. This allows users to choose whether or not they want to download podcasts.

* Prevent mixing resolve and ignore podcasts options

Added a check in cmd_download.py to prevent combining both "resolve_podcasts" and "ignore_podcasts" options. A flag was added that aborts the process if both options are activated at once. Additionally, enhanced the feature to ignore parent podcasts during download, if "ignore_podcasts" flag is set.

* Update CHANGELOG.md
2024-03-24 22:53:41 +01:00
mkb79
707a4b9192
Release v0.3.1 2024-03-19 23:25:15 +01:00
mkb79
d6ce4041d8
fix: Fix TypeError on some Python versions (#191) 2024-03-19 23:21:24 +01:00
mkb79
0fa4dfc931
Release v0.3.0 2024-03-19 22:26:51 +01:00
mkb79
87bedc1080
refactor: rework plugin module (#189)
* refactor: rework plugin module

- using importlib.metadata over setuptools (pkg_resources) to get entrypoints
- help text now starts with ´(P)` for plugin commands
- plugin command help page now contains additional information about the source of the plugin
2024-03-19 20:32:19 +01:00
mkb79
91b3f63bd3
fix: move QUEUE init position 2024-01-30 15:21:22 +01:00
mkb79
098714e410
fix: Uncaught Exception (#181) 2024-01-30 15:16:20 +01:00
mkb79
ce8f59b732
feat: downloading large audiobooks (#178)
* catch asyncio.CancelledError

* add download parts feature

* fix downloading book in parts

* fix aax_fallback

* Update default timeout value to 30

* Refactor check_status_for_message function

* rework is_published method to take care about AudioPartd

* update cmd_download.py

* Update CHANGELOG.md
2024-01-29 11:44:01 +01:00
mkb79
56333360da
docs: Add install guide using pipx to README.md 2024-01-23 22:12:01 +01:00
mkb79
385f353403
feat: Add a resume feature for aaxc file (#164)
* Add a resume feature for aaxc file

* rework downloader class

* add additional message

* forgot to reduce MAX_FILE_READ_SIZE to 3 MB

* Rework downloader module

* Update CHANGELOG.md
2024-01-19 08:23:45 +01:00
vwkd
e82aa52c02
add overwrite option to decrypt command (#176) 2024-01-09 16:39:55 +01:00
vwkd
8bb611e5db
Add -f, --force-rebuild-chapters option to decrypt (#175) 2024-01-09 15:42:46 +01:00
mkb79
1bfbf72f66
doc: fix CHANGELOG.md 2023-11-16 14:02:16 +01:00
mkb79
d463dbae94
Release v0.2.6 2023-11-16 13:55:54 +01:00
mkb79
e996fb619d
Update httpx version range to >=0.23.3 and <0.26.0 2023-11-16 13:38:54 +01:00
mkb79
8f8eacf324
fix: Fixing an issue with unawaited coroutines (#166)
Fixing an issue with unawaited coroutines when the download command exited abnormal.

* Refactor consume function and queue_job function

* doc: Update CHANGELOG.md
2023-11-15 10:58:37 +01:00
mkb79
cda40c62d7
fix: Fix progressbar issue (#165)
* fix: Avoid tqdm progress bar interruption

Avoid tqdm progress bar interruption by logger's output to console

* doc: Update CHANGELOG.md
2023-11-15 07:52:49 +01:00
mkb79
72b4ff916f
add freeze_support to pyinstaller entry script (#162)
* fix: add freeze_support to pyinstaller entryscript

* docs: update CHANGELOG.md
2023-11-08 22:08:25 +01:00
mkb79
275a2b2b77
Update marketplace choices in manage command (#161)
* Update marketplace choices in `manage auth-file add` command

* docs: update CHANGELOG.md
2023-11-08 22:05:22 +01:00
mkb79
0f55179bff
Create FUNDING.yml 2023-09-29 06:41:07 +02:00
mkb79
6da1eda757
ci: Update build action (#158)
* ci: update build action

* docs: Update README.md
2023-09-27 10:36:14 +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