fix(main.py): correct key binding and add debug check for render video

This commit is contained in:
2025-09-08 09:31:41 +02:00
parent 34179e5922
commit 1e1a886766

View File

@@ -1893,7 +1893,7 @@ class VideoEditor:
print(" n: Previous video") print(" n: Previous video")
print(" Enter: Render video (overwrites if '_edited_' in name)") print(" Enter: Render video (overwrites if '_edited_' in name)")
print(" n: Render video") print(" n: Render video")
print(" X: Cancel render") print(" x: Cancel render")
print(" Q/ESC: Quit") print(" Q/ESC: Quit")
print() print()
@@ -2040,7 +2040,7 @@ class VideoEditor:
elif key == ord("n"): elif key == ord("n"):
if len(self.video_files) > 1: if len(self.video_files) > 1:
self.next_video() self.next_video()
else: elif key == ord("m"):
directory = self.video_path.parent directory = self.video_path.parent
base_name = self.video_path.stem base_name = self.video_path.stem
extension = self.video_path.suffix extension = self.video_path.suffix