From 9512ff66f9de9e6d9d768f143aeafb1c3155db71 Mon Sep 17 00:00:00 2001 From: q Date: Thu, 7 Aug 2025 09:53:32 +0300 Subject: [PATCH] print at save time --- tsmark/video_annotator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index 1d81e93..d5308fa 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -948,6 +948,7 @@ class World: with open(self.opts.output, "wt") as fp: for i, ts in enumerate(self.stamps): fp.write("{},{},{}\n".format(self.format_time(ts), i + 1, ts)) + print("Saved timestamps") if self.opts.output_points is not None: points = {} @@ -964,6 +965,7 @@ class World: with open(self.opts.output_points, "wt") as fp: json.dump(points, fp, indent=2) + print("Saved points") def shadow_text(self, frame, text, pos, size, thicc, color): @@ -1265,7 +1267,6 @@ class World: if time.time() > self.autosave_timer + self.autosave_interval: self.autosave_timer = time.time() try: - print("Autosave timestamps / points") self.save_timestamps() except Exception as e: print(e)