Commit graph

124 commits

Author SHA1 Message Date
mkb79
99d6d8f854
bump version to v0.1.0 2022-03-11 08:47:50 +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
64635e446a
Update README.md
Add `audible-cli-flask to known addons
2022-03-08 16:46:32 +01:00
mkb79
4ade6261cf
Bump audible to v0.0.7 2022-01-26 06:38:30 +01:00
mkb79
22c6dc514e
Update build.yml 2022-01-19 13:07:12 +01:00
mkb79
de515aa762 Update building packages 2022-01-18 20:09:40 +01:00
mkb79
9bc65323cc
Release v0.0.9 2022-01-18 13:52:01 +01:00
mkb79
497587f08e
changes on Github action 2022-01-18 13:50:16 +01:00
mkb79
f16a83bfe6
fix bug adding/removing auth file 2022-01-18 13:48:21 +01:00
mkb79
4b23a47d40 Bugfix errors and bump version 2022-01-15 13:04:15 +01:00
mkb79
9eb166b6b7 Bump version to 0.0.7 2022-01-15 12:38:21 +01:00
mkb79
5db2ceab91
Update on cmd_library.py (#53) 2022-01-15 12:31:59 +01:00
mkb79
fe6e1aea09
print out reason on content type mismatch 2022-01-14 07:09:31 +01:00
mkb79
8f1107ba9e
Remove binarys
I will publish binarys for Windows and linux on the releases page when
version 0.0.7 is finished.
2022-01-13 23:22:23 +01:00
mkb79
586e16732e
Update Download process 2022-01-13 23:11:08 +01:00
mkb79
5ae54591b3
Bugfix cmd_download.py remove shortcut for timeout
I added `-t` as a shortcut for the timeout option. But I have over
seen, that this shortcut is already assigned for the title option.
2022-01-13 19:40:54 +01:00
mkb79
c2198d9a15
Bump dev version 2022-01-13 15:37:08 +01:00
mkb79
636ae0c405
Add timeout option to download command 2022-01-13 15:28:01 +01:00
mkb79
87877dc2f4
Update cmd_library.py 2022-01-13 15:26:54 +01:00
mkb79
7aa96d41be
Update timeout for library command 2022-01-13 15:00:47 +01:00
mkb79
25096e496a Update cmd_library.py 2022-01-13 14:03:17 +01:00
mkb79
1de5233f9c
Merge pull request #51 from mkb79/issue#50
Fetching all books if library is greater than 1000
Add standalone binarys
2022-01-13 10:00:30 +01:00
mkb79
0638ca57fe Update README.md 2022-01-13 09:59:31 +01:00
mkb79
c4473577fa Add binary for linux 2022-01-13 09:30:15 +01:00
mkb79
28bd2808a8 Add binary for win and spec file for pyinstaller 2022-01-13 09:11:55 +01:00
mkb79
c8b72b658a Fetching all books if library is greater than 1000 2022-01-12 10:28:53 +01:00
mkb79
44b0594389
Detect if a file can not be downloaded (#48)
* Skip download of aax file if codec is not supported
* Error detection when downloading files
* Create CHANGELOG.md
2022-01-12 08:19:31 +01:00
mkb79
fc16e58d6d
fix bug in cmd_library.py #46 2022-01-07 16:40:29 +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
9c289c3681
Using config file for filename_mode preset (#39)
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
2021-11-30 13:49:49 +01:00
mkb79
19d985682b
Adjustments for Audible v0.6.0 2021-10-23 08:02:39 +02:00
mkb79
4256c43bfa
Update README.md 2021-10-22 07:59:50 +02:00
mkb79
16773b7982
Bump version to v0.0.2 2021-10-21 23:29:02 +02:00
mkb79
47bb673aea
Create pypi-publish.yml 2021-10-21 17:05:46 +02:00
mkb79
608de1b14b
Create pypi-publish-test.yml 2021-10-21 17:04:57 +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
bb78a72c82
Create dependabot.yml 2021-10-14 15:30:59 +02:00
mkb79
bd05955257
Update README.md 2021-10-03 13:41:32 +02:00
mkb79
ce1c030b42
Update README.md
Add information how to install from pypi
2021-10-03 13:20:49 +02:00
mkb79
8c00095d8d
Raise version to v0.0.1 2021-10-03 13:13:05 +02:00
Lucian Maly
b7915e58f9
Update cmd_image-urls.py (#32)
This change allows to also download covers of audio books that are not in your library
2021-09-30 08:22:56 +02:00
mkb79
13de9a7929
Merge pull request #31 from iconoclasthero/master 2021-09-18 21:51:23 +02:00
iconoclasthero
5884f601bb
Update README.md
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`.
2021-09-18 15:18:52 -04:00
mkb79
13f0de8d63
Add login wirh pre-amazon account (#30) 2021-09-15 21:02:50 +02:00
mkb79
2200ec0305
Merge branch 'master' of git@github.com:mkb79/audible-cli 2021-09-07 12:46:01 +02:00
mkb79
87375f92cc
Make 'Accept' default action (#28) 2021-09-07 12:42:26 +02:00
Paul Woitaschek
83c31d010a
Rename library.csv to library.tsv (#27)
Because it actually is tsv and not csv.
2021-09-03 21:58:26 +02: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
f5152867b5
Misplaced parenthesis #26 2021-08-23 11:46:33 +02:00
mkb79
bd30863b0d
Update _version.py 2021-08-20 18:58:20 +02:00