Skip to content

Rules targeting same Plex collection are populating both Maintainerr collections #2765

@SHxKM

Description

@SHxKM

Describe the bug
When two different rules target the same (non-manual) collection, items matches by one rule appear in the other Maintainerr collection as manual.

To Reproduce

  • We have rule A and rule B, they both go to (non-manual) collection "Going Soon".
  • For simplicity sake, let's say those rules have no intersection (they can never both be true).
  • Rule A has action "delete" after 14 days, Rule B has action "delete" after 7 days.
  • Let's say our item matches rule A.
  • Once both rules are run, the collection for rule A will include this item
  • The collection for rule B (with the same name) will also include this item, where it will be marked manual.
  • the movie will be deleted after 7 days in the Plex collection, despite it being matched with rule A (should delete after 14 days) and not rule B.

Expected behavior

  • An item added to a mutual collection will follow the action rules and "action after days" of the rule that originally added it to the collection
  • In any case, I think it'd be nicer if the item didn't show in the collection at all, or something other than "manual" showed up.

Screenshots

Device (please complete the following information):

  • OS: Linux
  • Version: 3.7.0
  • Server: Plex

Debug logs
Irrelevant.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions