-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(question) All chapters end up being 2kb large #56
Comments
I had sent a message on reddit about this and included a link to a sample epub. I am having the same issues with all of my epubs that were originally azw3 and have been converted to epub with calibre. Thanks for the workaround using docker. I will try it next as an alternative. |
Thanks for reporting. I'll look into this later. |
Same issue on my end, running on Windows. I find that if I keyboard interrupt during processing, a more "complete" filesize will appear. In looking at the 2kb files, they do have ID3 tags embedded in them, but it seems like nothing else. It might be the case that the file is being overwritten with just the tag information at the very end of the write process. |
Follow-up: it appears that the issue is in this line: If I comment out the |
I can confirm that also does the trick for me; many thanks! I looked through the code, but nothing jumped out at me. |
Looks like this issue was introduced by #45. I haven't make a release for the latest code so the docker version just worked fine. Thanks everyone for trying and reporting this. Thanks @ryanboyd for your fix. I'll merge soon. But I still don't understand why I can't reproduce this issue. Will try more cases. |
My workaround for this on
is
If you just comment out the audio export, the file size will be larger though, audio export somewhat compresses the audio. A 15573 characters not yet converted by pydub audio.export is 4.92MB while 3.28MB when converted/exported. |
Hello,
This is more of a question, then a bug report as I am not sure if this is due to me doing something wrong...
After chapter is converted to mp3 it end up with size of ~2kb, during conversion size is reported correctly (while refreshing directory). This was in wsl on both Ubuntu and Arch distros as well as on regular Linux Arch distro, using python virtual env with edge as tts provider with following command:
python main.py book_name.epub book_dir --tts edge --language hr-HR --voice_name hr-HR-SreckoNeural
Had the same issue with english language book, not providing language switch, which, if I am correct use english language by default...
Using conversion with docker image works as expected.
Thanks
The text was updated successfully, but these errors were encountered: