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,