From 1bed4e8972808abdcba265acc34af5ccece43781 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 11 Mar 2025 17:05:54 -0700 Subject: [PATCH] feat: Add 0.5 second pause after skipped sections in redaction script --- redact.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redact.py b/redact.py index e10a39600..9f42c4282 100755 --- a/redact.py +++ b/redact.py @@ -68,6 +68,9 @@ def process_file(input_path, output_path): # Calculate how much time to subtract from future timestamps time_offset += (current_timestamp - skip_start_time) + # Add a 0.5 second pause after each skip section + last_timestamp += 0.5 + # Write this record with adjusted timestamp adjusted_timestamp = max(current_timestamp - time_offset, last_timestamp) last_timestamp = adjusted_timestamp