soulsync/core/repair_jobs
Broque Thomas 4dba3757be Fix orphan detector false positives and add staging/delete choice
Orphan detector: add normalized tag matching that strips parentheticals
and brackets (feat. X, [FLAC 16bit], etc.) and tries first-artist-only
for comma-separated artists. Prevents false orphan flags for tracks
like "The Mountain (feat. Dennis Hopper...)" that exist in DB as
"The Mountain". All lookups remain O(1) set operations.

Orphan fix: replace auto-delete with user choice prompt. Single Fix
and Fix All both show modal asking "Move to Staging" or "Delete".
Move to Staging relocates file to import staging folder for proper
re-import with metadata matching. Fix action flows through API
endpoint → repair_worker.fix_finding → _fix_orphan_file handler.
Staging path uses docker_resolve_path for container compatibility.
2026-03-21 11:27:51 -07:00
..
__init__.py Add Single/Album Dedup maintenance job to flag redundant singles 2026-03-17 15:30:29 -07:00
acoustid_scanner.py Enrich repair findings with album art, artist images & live job progress 2026-03-15 14:08:26 -07:00
album_completeness.py Add min completion percentage filter to Album Completeness job 2026-03-20 08:19:56 -07:00
base.py Add Spotify rate limit guards to all repair jobs 2026-03-15 16:01:48 -07:00
cache_evictor.py include a '?' to include more details for each job. 2026-03-15 11:19:09 -07:00
dead_file_cleaner.py Fix dead file cleaner false positives from transfer path resolution failure 2026-03-17 09:51:31 -07:00
duplicate_detector.py Fix bulk Fix All ignoring Single/Album Dedup findings and expand version keywords 2026-03-19 08:53:14 -07:00
fake_lossless_detector.py Enrich repair findings with album art, artist images & live job progress 2026-03-15 14:08:26 -07:00
library_reorganize.py Collect release year from all metadata sources during post-processing 2026-03-20 17:31:00 -07:00
mbid_mismatch_detector.py Fix MusicBrainz recording matches with wrong titles & add MBID mismatch repair job 2026-03-16 07:52:00 -07:00
metadata_gap_filler.py Add Spotify rate limit guards to all repair jobs 2026-03-15 16:01:48 -07:00
missing_cover_art.py Add Spotify rate limit guards to all repair jobs 2026-03-15 16:01:48 -07:00
orphan_file_detector.py Fix orphan detector false positives and add staging/delete choice 2026-03-21 11:27:51 -07:00
single_album_dedup.py Fix bulk Fix All ignoring Single/Album Dedup findings and expand version keywords 2026-03-19 08:53:14 -07:00
track_number_repair.py Fix Track Number Repair findings returning 400 on fix 2026-03-19 19:21:24 -07:00