fix(quality-scan): default to checking every file in the library folder

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 <noreply@anthropic.com>
This commit is contained in:
dev 2026-06-15 17:04:41 +02:00
parent 1734a1b3c4
commit bb1a1222f8

View file

@ -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