mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-28 16:27:07 +03:00
fix birdseye runtime toggles, debug replay teardown, and stale export config (#25073)
- Keep the Birdseye restream flag from startup so enabling restream at runtime no longer writes a buffer that was never created and crashes the output loop - Clear a runtime-disabled camera's Birdseye state once instead of re-arming it and forcing a render on every frame - Advance the Birdseye output time after an idle heartbeat so it sends at the configured rate - Keep the published replay camera in each config swapped in by a settings save, and send its remove on stop, so a save during a replay no longer leaves the replay camera running after stop - Read the live config in the debug replay auto-stop watchdog - Skip publishing the replay camera when the session was stopped during startup - Rename a camera named with the reserved _replay_ prefix in the camera wizard and clone dialog, since debug replay deletes that camera's data - Update the export job manager's config on every call so exports follow config saves
This commit is contained in:
@@ -24,6 +24,7 @@ class TestSwapRuntimeConfig(unittest.TestCase):
|
||||
|
||||
self.assertIs(app.frigate_config, config)
|
||||
app.genai_manager.update_config.assert_called_once_with(config)
|
||||
app.replay_manager.update_config.assert_called_once_with(config)
|
||||
app.profile_manager.update_config.assert_called_once_with(config)
|
||||
self.assertIs(app.stats_emitter.config, config)
|
||||
app.stats_emitter.hardware_stats.set_config.assert_called_once_with(config)
|
||||
|
||||
Reference in New Issue
Block a user