uppd
This commit is contained in:
@@ -763,6 +763,17 @@ Anime Video Editor — объединение нескольких видео в
|
||||
cancel_event = threading.Event()
|
||||
self._cancel_event = cancel_event
|
||||
|
||||
# Проверяем место сразу по нажатию "Выполнить", до запуска фоновой обработки.
|
||||
try:
|
||||
VideoProcessor(logger=logger).check_disk_space_for_job(
|
||||
output_dir=output_dir,
|
||||
video_data=video_data,
|
||||
quality=quality,
|
||||
)
|
||||
except Exception as e:
|
||||
messagebox.showerror("Недостаточно места", str(e))
|
||||
return
|
||||
|
||||
def worker():
|
||||
try:
|
||||
processor = VideoProcessor(logger=logger)
|
||||
|
||||
Reference in New Issue
Block a user