From 713b722cf6ad76fd77fdea9650802c1f85c23003 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:39:41 -0600 Subject: [PATCH] clarifying comment --- frigate/ptz/onvif.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.py index 9f5446761..8aae216f1 100644 --- a/frigate/ptz/onvif.py +++ b/frigate/ptz/onvif.py @@ -69,6 +69,7 @@ class OnvifController: media = onvif.create_media_service() try: + # this will fire an exception if camera is not a ptz capabilities = onvif.get_definition("ptz") logger.debug(f"Onvif capabilities for {camera_name}: {capabilities}") profile = media.GetProfiles()[0]