Merged
Conversation
Collaborator
ROBERT-MCDOWELL
commented
Feb 26, 2026
- Added GlowTTS
- fixed important bugs
- windows script code refactored
- docker yml and script build refactored
There was a problem hiding this comment.
Pull request overview
This pull request introduces version 26.2.26 of ebook2audiobook with significant additions and bug fixes. The main purpose is to add a new GlowTTS text-to-speech engine, refactor Windows and bash installation scripts for better maintainability, fix critical bugs in TTS engine error handling, and improve Docker deployment configurations.
Changes:
- Added GlowTTS TTS engine with support for 6 languages (English, Ukrainian, Turkish, Italian, Persian, Belarusian)
- Refactored Windows CMD and bash scripts for better code organization, adding Debian WSL container support and improving error handling
- Fixed critical error handling in TTS engines (changed from raising ValueError to printing errors and returning False)
- Updated Docker and Podman compose configurations with granular volume mounts instead of mounting the entire app directory
Reviewed changes
Copilot reviewed 28 out of 29 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| lib/classes/tts_engines/glowtts.py | New GlowTTS TTS engine implementation with voice cloning and phonemizer support |
| lib/classes/tts_engines/presets/glowtts_presets.py | GlowTTS preset configurations for different language models |
| lib/conf_models.py | Added GlowTTS engine configuration and updated Tacotron2 files list |
| lib/conf_lang.py | Added Belarusian language support |
| lib/classes/tts_engines/init.py | Imported GlowTTS class and reordered imports |
| lib/classes/tts_engines/{vits,tortoise,tacotron,yourtts,fairseq,bark}.py | Changed error handling from raising ValueError to printing and returning False; changed samplerate initialization to None |
| lib/gradio.py | Added GlowTTS to voice list update logic and improved session cleanup message |
| lib/conf.py | Added jetson51 PyTorch configuration and updated Jetson version range |
| lib/classes/device_installer.py | Added JetPack 5.1 (L4T 35) support for Jetson devices |
| lib/classes/subprocess_pipe.py | Replaced select module with queue/threading for Windows compatibility |
| uninstall.cmd | Separated file and directory deletion loops for better reliability |
| requirements.txt | Added phonemizer dependency alongside phonemizer-fork |
| pyproject.toml | Added phonemizer dependency |
| ebook2audiobook.cmd | Major refactoring: separated install functions, added Debian WSL container support, improved error handling |
| ebook2audiobook.command | Code cleanup and bash script improvements including json_get function |
| docker-compose.yml | Updated version to 26.2.26 and changed volume mounts to specific directories |
| podman-compose.yml | Updated version to 26.2.26 and changed volume mounts to specific directories |
| Dockerfile | Updated version to 26.2.26, reformatted package installation, reordered VOLUME declarations |
| app.py | Changed multiprocessing to always use 'spawn', added DOCKER_IN_WSL environment variable handling, updated help text with new Docker commands |
| VERSION.txt | Updated version from 26.2.20 to 26.2.26 |
| README.md | Updated Docker documentation with new volume mount patterns and command examples |
| Notebooks/{kaggle,colab}_ebook2audiobook.ipynb | Completely refactored notebooks to mirror bash script structure and installation process |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.