Fix preview button keeps loading, improvements

This commit is contained in:
Deniz Şafak
2025-04-27 05:53:18 +03:00
parent d67cfce896
commit c954b8ca9a
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
- Switched from setuptools to hatchling for packaging. - Switched from setuptools to hatchling for packaging.
- Added classifiers to the package metadata. - Added classifiers to the package metadata.
- Fixed "No module named 'docopt'" and "setuptools.build_meta" import errors while using .bat installer in Windows, mentioned by @nigelp in https://github.com/denizsafak/abogen/issues/2 - Fixed "No module named 'docopt'" and "setuptools.build_meta" import errors while using .bat installer in Windows, mentioned by @nigelp in https://github.com/denizsafak/abogen/issues/2
- Improved code and documentation. - Improvements in code and documentation.
+1 -1
View File
@@ -133,7 +133,7 @@ Abogen is a standalone project, but it is inspired by and shares some similariti
- [ ] Add support for kokoro-onnx. - [ ] Add support for kokoro-onnx.
- [ ] Add dark mode. - [ ] Add dark mode.
# `Troubleshooting` ## `Troubleshooting`
If you encounter any issues while running Abogen, try launching it from the command line with: If you encounter any issues while running Abogen, try launching it from the command line with:
``` ```
abogen-cli abogen-cli
-1
View File
@@ -1 +0,0 @@
# Add chapter metadata for .m4a files using ffmpeg.
+2
View File
@@ -1328,6 +1328,8 @@ class abogen(QWidget):
def _play_preview_audio(self): def _play_preview_audio(self):
temp_wav = self.preview_thread.temp_wav temp_wav = self.preview_thread.temp_wav
if not temp_wav: if not temp_wav:
self.loading_movie.stop()
self.btn_preview.setIcon(self.play_icon)
self._show_error_message_box( self._show_error_message_box(
"Preview Error", "Preview error: No audio generated." "Preview Error", "Preview error: No audio generated."
) )