Clean up config updating checks

This commit is contained in:
Nicolas Mowen 2025-05-22 12:19:16 -06:00
parent 2670a7aa41
commit c0b0f91095
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def output_frames(
move_preview_frames("cache")
for camera, cam_config in config.cameras.items():
if not cam_config.enabled:
if not cam_config.enabled_in_config:
continue
jsmpeg_cameras[camera] = JsmpegCamera(cam_config, stop_event, websocket_server)

View File

@ -403,6 +403,7 @@ class PreviewRecorder:
self.reset_frame_cache(frame_time)
def stop(self) -> None:
self.config_subscriber.stop()
self.requestor.stop()