From 9163f012952f1b611a5e5cb761c175d6a1b57535 Mon Sep 17 00:00:00 2001 From: John Howe <89397553+timerring@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:34:16 +0800 Subject: [PATCH] fix: fix the scan order --- src/burn/scan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/burn/scan.py b/src/burn/scan.py index a658822..a2c18a8 100644 --- a/src/burn/scan.py +++ b/src/burn/scan.py @@ -39,6 +39,7 @@ def process_folder_merge(folder_path): def process_folder_append(folder_path): # process the recorded files mp4_files = [mp4_file for mp4_file in Path(folder_path).glob('*.mp4') if not mp4_file.name.endswith('-.mp4')] + mp4_files.sort() for file in mp4_files: print(f"Processing {file}...", flush=True) render_video_only(file)