diff options
Diffstat (limited to 'src/main.odin')
| -rw-r--r-- | src/main.odin | 11 |
1 files changed, 5 insertions, 6 deletions
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 |