Skip to content

Commit

Permalink
Ensure only enabled birdseye cameras are considered active (#13194)
Browse files Browse the repository at this point in the history
* Ensure only enabled birdseye cameras are considered active

* Cleanup
  • Loading branch information
NickM-27 authored Aug 19, 2024
1 parent 1da934e commit d96f76c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frigate/output/birdseye.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ def update_frame(self):
[
cam
for cam, cam_data in self.cameras.items()
if cam_data["last_active_frame"] > 0
if self.config.cameras[cam].birdseye.enabled
and cam_data["last_active_frame"] > 0
and cam_data["current_frame"] - cam_data["last_active_frame"]
< self.inactivity_threshold
]
Expand Down

0 comments on commit d96f76c

Please sign in to comment.