update save output to move datetime to the front for better order in folders

This commit is contained in:
2026-01-07 20:27:02 +00:00
parent 9a76a96c00
commit 252f25d96a

View File

@@ -69,7 +69,7 @@ def clip(seconds_from_end: float) -> None:
print(f"Created clip: {output_file_name}")
def save(first_marker: str, second_marker: str):
output_file_name = f"{first_marker}-{second_marker}-{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}.mp4"
output_file_name = f"{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}-[{first_marker}-{second_marker}].mp4"
first_timestamp = get_marker_timestamp(first_marker)
second_timestamp = get_marker_timestamp(second_marker)