From e192100ea735fb4f3105468862a978cfbf51938a Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Fri, 12 Dec 2025 04:52:35 +0100 Subject: I'm so happy with this update that it's version 1.4 --- src/main.odin | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/main.odin') diff --git a/src/main.odin b/src/main.odin index 7255dd6..20969c1 100644 --- a/src/main.odin +++ b/src/main.odin @@ -172,6 +172,7 @@ parse_folder :: proc(paths : Directory) -> (Report, bool) { append(&header_build, "File Name") append(&header_build, "Scene") append(&header_build, "Take") + append(&header_build, "Duration") append(&header_build, "Timecode") append(&header_build, "TC FPS") append(&header_build, "User Bits") @@ -244,12 +245,10 @@ parse_folder :: proc(paths : Directory) -> (Report, bool) { row[i] = w.scene case "Take": row[i] = fmt.tprintf("T%03d", w.take) + case "Duration": + row[i] = wav.tprint_duration(w) case "Timecode": - row[i] = fmt.tprintf("%02d:%02d:%02d:%02d", // Timecode - w.timecode.hour, - w.timecode.minute, - w.timecode.second, - int(math.round(w.timecode.frame))) + row[i] = wav.tprint_timecode(w) case "TC FPS": if w.tc_dropframe { // TC FPS row[i] = fmt.tprintf("%.03f DF", w.tc_framerate) @@ -258,7 +257,7 @@ parse_folder :: proc(paths : Directory) -> (Report, bool) { } case "User Bits": if w.ubits != {0,0,0,0,0,0,0,0,} { - row[i] = fmt.tprintf("%d%d%d%d%d%d%d%d", expand_values(w.ubits)) + row[i] = fmt.tprint(expand_values(w.ubits), sep="") } case "Tape": row[i] = w.tape -- cgit v1.2.1