Skip to content

WhisparrUpdater.java:112 is missing the ! on its hasFile() guard, so MISSING_STATUS=upgrade acts as missing #31

Description

@egg82

MISSING_STATUS=upgrade behaves as missing on Whisparr — the hasFile() guard is missing its negation.

WhisparrUpdater.java:112:

if (missingStatus == MissingStatus.UPGRADE && m.resource().hasFile()) {

RadarrUpdater.java:112 has && !m.resource().hasFile(), and Sonarr (:134) and Lidarr (:139) use the same negated form.

So on Whisparr upgrade skips everything that has a file and keeps only what's missing — exactly what missing does. There's no way to get upgrade-only searching out of the Whisparr updater. The logs don't reveal it either: the skip still posts SelectionCancellationReason.MISSING and logs "because it is missing a movie file (upgrade only)" for items that do have one.

Fix is the missing !.


Found with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions