Skip zero-track albums in album completeness scanner
Albums with zero local tracks were flagged as incomplete but the auto-fill fix failed because there were no existing tracks to determine the album folder or quality standard from. Now skipped during scan — they'll be detected once tracks are actually added.
This commit is contained in:
parent
c6bebd5e09
commit
ec87cb6d0e
1 changed files with 5 additions and 0 deletions
|
|
@ -153,6 +153,11 @@ class AlbumCompletenessJob(RepairJob):
|
|||
context.update_progress(i + 1, total)
|
||||
continue
|
||||
|
||||
# Skip albums with zero local tracks — nothing to auto-fill from
|
||||
if actual_count == 0:
|
||||
result.skipped += 1
|
||||
continue
|
||||
|
||||
# Skip albums below minimum completion percentage
|
||||
# (filters out "1 track from a playlist import" false positives)
|
||||
if min_completion_pct > 0 and expected_total > 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue