Comments (8)
It's because the library I use for adding chapters does not support m4b files. It should work with mp3 files, also if you use --combine
.
from audiobook-dl.
hi - thanks. makes sense.
from audiobook-dl.
I have made a temporary fix. It just requires ffmpeg. Please tell me if you have any problems.
from audiobook-dl.
Hi - it didn't work for me, unfortunately. It converted all to m4b and then combined to a file of only the first chapter.
from audiobook-dl.
I tried again. Hope it works now.
from audiobook-dl.
sadly not :( this is what I see. Could it be something on my end?
Converting files
Combining files
Adding chapters
Traceback (most recent call last):
File "/opt/homebrew/bin/audiobook-dl", line 33, in
sys.exit(load_entry_point('audiobook-dl==0.4.3', 'console_scripts', 'audiobook-dl')())
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/main.py", line 56, in run
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/main.py", line 77, in run_on_url
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/download.py", line 47, in download
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/download.py", line 152, in combined_audiobook
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/download.py", line 160, in embed_metadata_in_file
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/metadata/init.py", line 31, in add_chapters
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/metadata/ffmpeg.py", line 35, in add_chapters_ffmpeg
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/metadata/ffmpeg.py", line 22, in create_tmp_chapter_file
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/output/metadata/ffmpeg.py", line 10, in create_chapter_text
File "/opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/utils/init.py", line 23, in read_asset_file
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/zipfile.py", line 2362, in read_text
with self.open('r', *args, **kwargs) as strm:
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/zipfile.py", line 2342, in open
raise FileNotFoundError(self)
FileNotFoundError: /opt/homebrew/lib/python3.10/site-packages/audiobook_dl-0.4.3-py3.10.egg/audiobookdl/assets/ffmpeg_chapter_template.txt
from audiobook-dl.
Could it be something on my end?
I think it is. It looks like there is a file it can't find. Maybe try uninstalling and installing it again? You could also try running it directly with python -m audiobookdl [options] <url>
.
from audiobook-dl.
thanks. I'll look into it. I tried the direct command, but different error. I think I'll stick to auto-m4b for now, as that's working well on a docker. Thanks so much for trying to resolve this for me! Hope it helps other people :)
from audiobook-dl.
Related Issues (20)
- Add support for Storytel
- Add support for Audible
- Add support for Nextory HOT 1
- CTOC with over 256 child_element_ids causes crash HOT 9
- ModuleNotFoundError: No module named 'audiobookdl.__main__.run'; 'audiobookdl.__main__' is not a package HOT 3
- Add support for Bookbeat
- Mp4 chapters HOT 1
- TypeError: unsupported operand type(s) for |: 'type' and 'ABCMeta' HOT 1
- OSError: [Errno 22] Invalid argument HOT 9
- error when combining mp3s: folder name replication not seen by script HOT 3
- --combine tag results in error HOT 2
- overdrive download suddenly fails HOT 6
- Failed to combine audio files HOT 4
- AttributeError: module 'functools' has no attribute 'cache' HOT 4
- Saxo: Nonseries book HOT 1
- Python throws an error HOT 2
- getting user not authorized over all accounts HOT 7
- `--output-format=mkv` does transcode instead of transmux HOT 2
- Make types compatible with python 3.8.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiobook-dl.