From cf6e66c4532c6421019b4300f4a6c5e657ad83c0 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 5 Feb 2022 14:31:06 -0600 Subject: [PATCH] allow dash in camera name --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index 77d13ffc9..048d48ce7 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -476,7 +476,7 @@ class CameraLiveConfig(FrigateBaseModel): class CameraConfig(FrigateBaseModel): - name: Optional[str] = Field(title="Camera name.", regex="^[a-zA-Z0-9_]+$") + name: Optional[str] = Field(title="Camera name.", regex="^[a-zA-Z0-9_-]+$") ffmpeg: CameraFfmpegConfig = Field(title="FFmpeg configuration for the camera.") best_image_timeout: int = Field( default=60,