Closed StefanLobbenmeier closed 3 months ago
Thank you for this information. I am already aware of this problem. setuptools
should actually be installed in most Python environments. Therefore, the error should only occur in rare cases. That's also why I hadn't noticed it until recently.
To solve this problem with pipx, you can run pipx inject audible-cli setuptools
too. But I will include setuptools
in the list of dependencies in the next release. In the meantime, I'll keep this issue open to make it easier for everyone to find.
Best regards
The master branch now includes a fix for this issue. I'll close this issue, when the fix will be released.
v0.3.0 is now out
just to confirm, I just ran pipx uninstall audible-cli
and pipx install audible-cli
and received
audible --version
audible-cli, version 0.3.1 (up-to-date)
Surprisingly pipx runpip audible-cli list
does not include setuptools, but it seems to work nonetheless.
using importlib.metadata over setuptools (pkg_resources) to get entrypoints
nevermind, it is no longer needed 😄 so all good
Thank you for this information. Some user reported, that they have issues downloading aax files. Do you have them too?
Yeah looks like I have the same issue:
audible -v DEBUG download -a B...X --aax
debug: Audible-cli version: 0.3.1
debug: App dir: ~/.audible
debug: Plugin dir: ~/.audible/plugins
debug: Using asyncio.run ...
debug: Config loaded from config.toml
debug: Auth file audible.json for profile audible loaded.
No new files downloaded.
Adding a c at the end to download an aaxc file works
it is a fairly new audiobook, I suspect it might not have aac. But using --all I can download some audiobooks:
error: 5.14 - Der Orden des Phönix (Teil 1) is not downloadable in AAX format
Nicht_einschlafen-LC_128_44100_stereo.aax: 25%|████████████▊ | 7.04M/28.6M [00:04<00:05, 4.49MB/s]
I've found the reason for the aax issue. Fix is on the way. In the meantime you can use --timeout 0
. But you have to wait 1 to 2 minutes. The Amazon server have some trouble with head requests. Get request to the same URI are answered in some milliseconds.
PS: Schönes Audiobuch. Das gab es glaube ich mal kostenlos?
PS: Schönes Audiobuch. Das gab es glaube ich mal kostenlos?
yeah exactly, most of my library is just audiobooks that I got for free and never listened to 😄 but if you can recommend it I will give it a go
(it was free last year it seems: https://www.mydealz.de/search?q=nicht%20einschlafen)
I installed this via pipx on macOS 14.4.
To solve this I had to add setuptools:
And now the audible command works 😄
FYI this is the requirements that were installed by pipx (before I ran the additional install):
I suppose fixing this is just adding setuptools to the requirements?