Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The "is monitored" returns null when unmonitored #906

Open
RouNNdeL opened this issue Feb 12, 2024 · 2 comments
Open

[Bug] The "is monitored" returns null when unmonitored #906

RouNNdeL opened this issue Feb 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@RouNNdeL
Copy link

Describe the bug
The is monitored rule will return null instead of false when a movie is unmonitored in Radarr (I have not check Sonarr).

To Reproduce
Steps to reproduce the behavior:

  1. Have unmonitored movies in Radarr
  2. Create a rule using Radarr - is monitored equals false rule
  3. Run the rules
  4. The rule will fail to match unmonitored Movies
  5. Change the rule to Radarr - is monitored not equals true
  6. The rule will now correctly match the Movies

Expected behavior
The workaround with setting the rule to not equal true works but not obvious, so I assume this is a bug. Expected behavior would be to match the rule when the movie is unmonitored.

Screenshots

Current behaviour:

- operator: OR
  action: equals
  firstValueName: Radarr - is monitored
  firstValue: null
  secondValueName: boolean
  secondValue: 0
  result: false

Workaround:

- operator: OR
  action: not_equals
  firstValueName: Radarr - is monitored
  firstValue: null
  secondValueName: boolean
  secondValue: 1
  result: true

Expected behaviour:

- operator: OR
  action: equals
  firstValueName: Radarr - is monitored
  firstValue: 0
  secondValueName: boolean
  secondValue: 0
  result: true

Device (please complete the following information):

  • OS: Docker
  • Version: 2.0.2

Additional context

None.

@Gwindalmir
Copy link

I think it's related to what I mentioned in #1113, this happens when the item was never requested in radarr, but instead was detected from a library scan.

Does this also happen if you monitor a movie, then unmonitor it?

@jorenn92
Copy link
Owner

jorenn92 commented Aug 9, 2024

Thanks for this report! I believe the underlying reason for this is indeed @Gwindalmir's suggestion. I'll have to catch this scenario since it probably happens a lot.

@ydkmlt84 ydkmlt84 added the bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants