From 31ead3eded6f0cf2b26f1dbaf4656b95c637a57c Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Thu, 15 Jun 2023 15:19:29 +0300 Subject: [PATCH] rename streamInfo to stream_info Co-authored-by: Blake Blackshear --- frigate/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frigate/config.py b/frigate/config.py index 0104d5d68..771016afe 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -963,9 +963,9 @@ class FrigateConfig(FrigateBaseModel): for input in camera_config.ffmpeg.inputs: if "detect" in input.roles: try: - streamInfo = get_video_properties(input.path) - camera_config.detect.width = streamInfo["width"] - camera_config.detect.height = streamInfo["height"] + stream_info = get_video_properties(input.path) + camera_config.detect.width = stream_info["width"] + camera_config.detect.height = stream_info["height"] break except Exception: camera_config.detect.width = DEFAULT_DETECT_DIMENSIONS[