blakeblackshear.frigate/frigate/const.py

13 lines
356 B
Python
Raw Normal View History

BASE_DIR = "/media/frigate"
CLIPS_DIR = f"{BASE_DIR}/clips"
RECORD_DIR = f"{BASE_DIR}/recordings"
2021-02-17 14:23:32 +01:00
CACHE_DIR = "/tmp/cache"
YAML_EXT = (".yaml", ".yml")
2022-04-03 22:00:11 +02:00
PLUS_ENV_VAR = "PLUS_API_KEY"
PLUS_API_HOST = "https://api.frigate.video"
# Regex Consts
REGEX_CAMERA_NAME = "^[a-zA-Z0-9_-]+$"
REGEX_CAMERA_USER_PASS = "[a-zA-Z0-9_-]+:[a-zA-Z0-9!*'();:@&=+$,?%#_-]+@"