list_videos globs *.mp4 but requires a readable sidecar, so a video whose sidecar is gone is skipped. delete()/clear() dropped the sidecar first, so if the mp4 unlink then failed (a Windows lock from a concurrent stream/transcode), the still-present mp4 vanished from the gallery with no way to retry the delete. Unlink the mp4 first and only then best-effort the sidecar: the worst case is now an orphaned sidecar, which list_videos already ignores. |
||
|---|---|---|
| .. | ||
| data_recipe | ||
| export | ||
| inference | ||
| rag | ||
| training | ||
| __init__.py | ||
| _torchao_stub.py | ||
| import_guards.py | ||
| tool_healing.py | ||