From bb1a1222f8481d8ea3d3086c9fbcfbaa2d972c01 Mon Sep 17 00:00:00 2001 From: dev Date: Mon, 15 Jun 2026 17:04:41 +0200 Subject: [PATCH] fix(quality-scan): default to checking every file in the library folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit library_tracks_only defaulted ON, which skipped every file when the DB (reset by the user) no longer matched the files on disk → scanned=0, nothing tested. Default it OFF: check every audio file in the Music Library output folder, which is what users expect. DB matching is still used opportunistically for better finding metadata, just no longer required. Power users can re-enable the filter. Co-Authored-By: Claude Sonnet 4.6 --- core/repair_jobs/quality_upgrade_scanner.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/repair_jobs/quality_upgrade_scanner.py b/core/repair_jobs/quality_upgrade_scanner.py index ce177773..c0f2d930 100644 --- a/core/repair_jobs/quality_upgrade_scanner.py +++ b/core/repair_jobs/quality_upgrade_scanner.py @@ -51,9 +51,12 @@ class QualityUpgradeScannerJob(RepairJob): icon = 'repair-icon-lossless' default_enabled = False default_interval_hours = 168 - # library_tracks_only: only check files that match a library DB track. OFF - # would also flag loose files in transfer/downloads (pre-import leftovers). - default_settings = {'library_tracks_only': True} + # library_tracks_only: when ON, only check files that match a library DB + # track (skips loose/orphan files). Default OFF — the scan checks EVERY + # audio file in the Music Library output folder, which is what users expect + # ("check my library folder"). DB matching after a reset is unreliable and + # would wrongly skip everything. Turn ON to ignore non-DB files. + default_settings = {'library_tracks_only': False} setting_options = {'library_tracks_only': [True, False]} auto_fix = False # User chooses fix action per finding