mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 16:42:18 +03:00
Autotracking improvements (#17955)
* add zoom time to movement predictions * config migrator * add space to face rename regex * more debug * only calculate zoom time of relative move * fix test * make migrated movement weight a zero * check for str and bool for movestatus support
This commit is contained in:
@@ -243,7 +243,7 @@ class EmbeddingsContext:
|
||||
)
|
||||
|
||||
def rename_face(self, old_name: str, new_name: str) -> None:
|
||||
valid_name_pattern = r"^[a-zA-Z0-9_-]{1,50}$"
|
||||
valid_name_pattern = r"^[a-zA-Z0-9\s_-]{1,50}$"
|
||||
|
||||
try:
|
||||
sanitized_old_name = sanitize_filename(old_name, replacement_text="_")
|
||||
|
||||
Reference in New Issue
Block a user