mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
Update changelog, fix wrong os import
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
- Added `Line` option to subtitle generation modes, allowing subtitles to be generated based on line breaks in the text, by @mleg in #94.
|
- Added `Line` option to subtitle generation modes, allowing subtitles to be generated based on line breaks in the text, by @mleg in #94.
|
||||||
- Fixed `cannot access local variable 'is_narrow'` error when subtitle format `SRT` was selected, mentioned by @Kinasa0096 in #88.
|
- Fixed `cannot access local variable 'is_narrow'` error when subtitle format `SRT` was selected, mentioned by @Kinasa0096 in #88.
|
||||||
- Fixed folder and filename sanitization to properly handle OS-specific illegal characters (Windows, Linux, macOS), ensuring compatibility across all platforms when creating chapter folders and files.
|
- Fixed folder and filename sanitization to properly handle OS-specific illegal characters (Windows, Linux, macOS), ensuring compatibility across all platforms when creating chapter folders and files.
|
||||||
|
- Fixed `/` and `\` path display by normalizing paths.
|
||||||
- Improvements in code and documentation.
|
- Improvements in code and documentation.
|
||||||
|
|
||||||
# 1.1.9
|
# 1.1.9
|
||||||
|
|||||||
@@ -207,6 +207,8 @@ class QueueManager(QDialog):
|
|||||||
|
|
||||||
def process_queue(self):
|
def process_queue(self):
|
||||||
"""Process the queue items."""
|
"""Process the queue items."""
|
||||||
|
import os
|
||||||
|
|
||||||
self.listwidget.clear()
|
self.listwidget.clear()
|
||||||
if not self.queue:
|
if not self.queue:
|
||||||
self.empty_overlay.resize(self.listwidget.size())
|
self.empty_overlay.resize(self.listwidget.size())
|
||||||
@@ -227,7 +229,6 @@ class QueueManager(QDialog):
|
|||||||
|
|
||||||
# Only show the file name, not the full path
|
# Only show the file name, not the full path
|
||||||
display_name = display_file_path
|
display_name = display_file_path
|
||||||
import os
|
|
||||||
|
|
||||||
if os.path.sep in display_file_path:
|
if os.path.sep in display_file_path:
|
||||||
display_name = os.path.basename(display_file_path)
|
display_name = os.path.basename(display_file_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user