From 6deaca816170f35c484d07db835749c65dd80583 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 14 Jan 2026 02:04:15 +0000 Subject: [PATCH] use .3 for timecodes --- pandora/item/timelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/timelines.py b/pandora/item/timelines.py index a39ceee6..68b660ac 100644 --- a/pandora/item/timelines.py +++ b/pandora/item/timelines.py @@ -217,7 +217,7 @@ def join_tiles(source_paths, durations, target_path): offset += durations[i] with open(os.path.join(target_path, 'cuts.json'), 'w') as f: # avoid float rounding artefacts - f.write('[' + ', '.join(map(lambda x: '%.2f' % x, cuts)) + ']') + f.write('[' + ', '.join(map(lambda x: '%.3f' % x, cuts)) + ']') def split_tiles(path, paths, durations):