Document collection scripts and diagnostics

This commit is contained in:
2026-07-19 18:56:41 +02:00
parent 916ac982f7
commit 8fe68d684e
2 changed files with 5 additions and 1 deletions

View File

@ -8,4 +8,6 @@ The reference database is owned by a separate project and must only be opened wi
File operations must be conservative. Any functionality that renames, moves, or removes files should normally support or require a dry run before applying changes.
Implementation has not been copied into this repository yet.
`scripts/match_filenames.py` matches local video files against the external reference database. `scripts/diagnose_duration_match.py` is a manual diagnostic tool that compares one local file with current and historical durations for a specified `movie.id`; it is not an automated test.
Both scripts require an explicit `--database` argument and open the reference database strictly read-only with SQLite `mode=ro`.