Handle case where camera name ends in number (#15296)

This commit is contained in:
Nicolas Mowen
2024-12-01 13:33:10 -06:00
committed by GitHub
parent a1fa9decad
commit c95bc9fe44
2 changed files with 2 additions and 2 deletions

View File

@@ -437,7 +437,7 @@ class FrigateApp:
# pre-create shms
for i in range(shm_frame_count):
frame_size = config.frame_shape_yuv[0] * config.frame_shape_yuv[1]
self.frame_manager.create(f"{config.name}{i}", frame_size)
self.frame_manager.create(f"{config.name}_{i}", frame_size)
capture_process = util.Process(
target=capture_camera,