mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
Fixed “Go to folder” button not opening the chapter output directory when only separate chapters were generated
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- Fixed `/` and `\` path display by normalizing paths.
|
- Fixed `/` and `\` path display by normalizing paths.
|
||||||
- Fixed book reprocessing issue where books were being processed every time the chapters window was opened, improving performance when reopening the same book.
|
- Fixed book reprocessing issue where books were being processed every time the chapters window was opened, improving performance when reopening the same book.
|
||||||
- Fixed taskbar icon not appearing correctly in Windows.
|
- Fixed taskbar icon not appearing correctly in Windows.
|
||||||
|
- Fixed “Go to folder” button not opening the chapter output directory when only separate chapters were generated.
|
||||||
- Improvements in code and documentation.
|
- Improvements in code and documentation.
|
||||||
|
|
||||||
# 1.1.9
|
# 1.1.9
|
||||||
|
|||||||
@@ -1117,11 +1117,12 @@ class ConversionThread(QThread):
|
|||||||
merged_out_path,
|
merged_out_path,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# If not merging, just finish after chapters
|
# If not merging, report the folder that holds the chapter files
|
||||||
self.progress_updated.emit(100, "00:00:00")
|
self.progress_updated.emit(100, "00:00:00")
|
||||||
|
chapters_dir = os.path.abspath(chapters_out_dir or parent_dir)
|
||||||
self.conversion_finished.emit(
|
self.conversion_finished.emit(
|
||||||
("\nAll chapters saved.", "green"),
|
(f"\nAll chapters saved to: {chapters_dir}", "green"),
|
||||||
None,
|
chapters_dir,
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Cleanup ffmpeg subprocesses on error
|
# Cleanup ffmpeg subprocesses on error
|
||||||
|
|||||||
Reference in New Issue
Block a user