Implement duplicate resolution strategy by quality and enhance related documentation

- Updated `duplicate_resolve.py` to introduce a new strategy for keeping files based on quality, considering resolution, source, codec, and size.
- Enhanced `planner.py` to utilize the new quality-based strategy during plan generation, updating quarantine reasons accordingly.
- Modified `README.md` to document the new `plan.duplicate_keep` options, including `by_quality`, and provided detailed descriptions of each strategy.
- Added unit tests in `test_duplicate_resolve.py` to validate the new quality-based resolution logic.
- Updated `analysis.json` and `plan.json` with new timestamps and IDs to reflect recent changes.

These updates improve the Video Library Manager's ability to handle duplicate files more effectively, ensuring users retain the highest quality versions.
This commit is contained in:
windyboy
2026-02-11 08:44:48 +08:00
parent 79f5ddf1f5
commit 1f55eab304
9 changed files with 297 additions and 20 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"metadata": {
"generated": "2026-02-10T09:54:17",
"generated": "2026-02-10T12:54:42",
"source_identities": "identities.json",
"total_movies": 637,
"total_series": 1492