Giter Club home page Giter Club logo

Comments (8)

jo1gi avatar jo1gi commented on June 19, 2024

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.

catfordfire avatar catfordfire commented on June 19, 2024

hi - thanks. makes sense.

from audiobook-dl.

jo1gi avatar jo1gi commented on June 19, 2024

I have made a temporary fix. It just requires ffmpeg. Please tell me if you have any problems.

from audiobook-dl.

catfordfire avatar catfordfire commented on June 19, 2024

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.

jo1gi avatar jo1gi commented on June 19, 2024

I tried again. Hope it works now.

from audiobook-dl.

catfordfire avatar catfordfire commented on June 19, 2024

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.

jo1gi avatar jo1gi commented on June 19, 2024

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.

catfordfire avatar catfordfire commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.