use a nginx internal redirect

This commit is contained in:
Blake Blackshear
2021-08-10 08:27:31 -05:00
parent 1823bd0305
commit 189b9c6648
3 changed files with 32 additions and 25 deletions

View File

@@ -51,7 +51,7 @@ class RecordingMaintainer(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("tmp_clip")
and not d.startswith("clip_")
]
files_in_use = []