fix check

This commit is contained in:
Blake Blackshear 2024-06-09 13:15:34 -05:00
parent 550fce3250
commit 48e167a673

View File

@ -300,7 +300,7 @@ class CameraWatchdog(threading.Thread):
for d in os.listdir(CACHE_DIR)
if os.path.isfile(os.path.join(CACHE_DIR, d))
and d.endswith(".mp4")
and not d.startswith("clip_")
and not d.startswith("preview_")
]
)
newest_segment_time = latest_segment