maziggy
bfd3fc755d
Fix: capture timelapse baseline on expected-archive on_print_start branch ( #1403 follow-up)
...
The snapshot-diff strategy in _scan_for_timelapse_with_retries needs
_timelapse_baselines[printer_id] populated at print start so the
completion-time scan can find the new MP4 by set-difference (mtime is
unreliable — LAN-only printers don't sync NTP).
The baseline-capture call was only in on_print_start's new-archive branch.
Queue / VP-dispatched / reprinted jobs take the expected-archive branch
which returns earlier, so the dict stayed empty and the completion-time
scan fell into the "take baseline now" fallback that snapshots after the
new file has already landed — no diff ever matches.
Extract the snapshot into _capture_timelapse_baseline_at_start and call
it from both branches.
2026-05-20 08:12:17 +02:00
..
2026-05-19 14:23:38 +02:00
2026-04-26 09:40:02 +02:00
2026-05-16 11:34:40 +02:00
2026-04-27 16:14:31 +02:00
2026-05-14 08:58:33 +02:00
2026-04-09 11:29:57 +02:00
2026-04-27 16:32:10 +02:00
2026-04-17 08:38:22 +02:00
2026-04-18 08:14:53 +02:00
2026-05-08 09:01:51 +02:00
2026-05-15 15:43:37 +02:00
2026-05-08 11:52:42 +02:00
2026-04-11 11:14:54 +02:00
2026-04-26 14:24:28 +02:00
2026-05-15 10:06:55 +02:00
2026-04-27 16:02:40 +02:00
2026-04-27 16:32:10 +02:00
2026-05-11 12:27:41 +02:00
2026-05-03 08:12:36 +02:00
2026-04-24 16:02:55 +02:00
2026-05-08 14:06:40 +02:00
2026-05-16 14:35:47 +02:00
2026-04-11 11:33:49 +02:00
2026-04-22 11:14:42 +02:00
2026-04-12 14:16:17 +02:00
2026-04-26 10:01:17 +02:00
2026-04-28 13:58:56 +02:00
2026-04-24 16:48:59 +02:00
2026-05-16 12:31:11 +02:00
2026-04-13 09:54:26 +02:00
2026-05-15 08:50:37 +02:00
2026-05-15 08:50:37 +02:00
2026-05-15 08:50:37 +02:00
2026-05-15 08:50:37 +02:00
2026-05-08 11:52:42 +02:00
2026-05-13 13:23:21 +02:00
2026-03-31 12:13:58 +02:00
2026-04-22 17:48:53 +02:00
2026-04-29 11:17:43 +02:00
2026-05-17 09:30:02 +02:00
2026-05-20 08:12:17 +02:00
2026-04-08 08:17:42 +02:00
2026-05-11 14:08:23 +02:00
2026-04-16 10:40:32 +02:00
2026-05-04 10:34:36 +02:00
2026-05-05 16:00:22 +02:00
2026-05-19 10:53:36 +02:00
2026-04-07 09:20:58 +02:00
2026-03-31 14:14:15 +02:00
2026-04-13 09:12:12 +02:00
2026-04-28 17:19:17 +02:00
2026-05-16 09:05:05 +02:00
2026-04-24 13:24:00 +02:00
2026-05-14 15:28:41 +02:00
2026-05-06 09:42:15 +02:00
2026-05-13 10:43:13 +02:00
2026-04-20 17:32:34 +02:00
2026-04-29 09:13:33 +02:00
2026-04-25 13:24:49 +02:00
2026-05-12 16:02:24 +02:00
2026-05-08 11:52:42 +02:00
2026-05-08 14:28:41 +02:00
2026-03-26 16:35:29 +01:00
2026-04-09 08:16:54 +02:00
2026-05-08 11:52:42 +02:00
2026-05-18 08:51:27 +02:00
2026-05-17 09:10:20 +02:00
2026-05-12 08:48:30 +02:00
2026-05-08 11:52:42 +02:00
2026-05-08 11:52:42 +02:00
2026-04-16 09:36:44 +02:00
2026-05-13 11:38:36 +02:00
2026-04-28 13:58:56 +02:00
2026-05-12 09:20:53 +02:00
2026-04-26 14:24:28 +02:00
2026-05-15 08:50:37 +02:00
2026-05-06 14:42:38 +02:00
2026-05-17 09:45:29 +02:00
2026-04-19 09:48:10 +02:00