Skip to content

Adding a movie that already exists in Radarr triggers a search that skips the isAvailable gate #3512

Description

@kinn81

Description

When Seerr adds a movie that already exists/is monitored in Radarr, it triggers a Radarr movie search that ignores the availability status. In the rare situation that a different movie with the same name and release year exists, Radarr will grab it (depending on Radarr config). This is a rare but observed situation.

I think when adding a movie, SearchMovie() should only be triggered if movie.isAvailable = true. This should largely mitigate the above problem and more closely follow the other addMovie logic.

Version

3.4.1

Steps to Reproduce

  1. Directly in Radarr, add a movie that releases in the future (Movie1) and happens to have a different, but identically named, movie already released in the same year (Movie2). Radarr is now monitoring Movie1 and will search for it once it releases.
  2. In Seerr, request Movie1.
  3. Seerr will determine that Movie1 already exists in Radarr and initiate movie search. Calling SearchMovie() directly ignores the isAvailable status of Movie1 and could, depending on Radarr config, result in grabbing Movie2 incorrectly.

Screenshots

No response

Logs

Platform

desktop

Database

SQLite (default)

Device

Ubuntu laptop

Operating System

Ubuntu

Browser

Firefox

Additional Context

No response

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triageThis issue needs to be reviewed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions