-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Rule outcome clashes with media testing #1468
Comments
Could you share the results of this for a few of those media items that are being added? Would you also be able to enable debug logging: https://docs.maintainerr.info/Installation/#enabling-debug-logging_1 - remove the item(s) from the collection, run test media, re-run the rules so that they get added again and attach your logs. Do you only have the one Plex library for TV shows? How large is it? Are you using just 1 Sonarr server? |
Have you also manually checked this TV show in Sonarr, Tautulli & Overseerr to see if the data being returned by test media is actually correct? |
sadly yes, the core of the rule is the legacy tag which immediately causes a false, and as the last section+rule, with "and" as a prefix should immediately cause everything with that tag to be false, and the test does indeed show that correctly. explainer: everything with legacy is / should be excluded from triage |
The problem is most likely that the item is still in the Plex collection. Even though the rule should not include it. To verify this, you could could change the description of the rule, see in Maintainerr that the collection is empty. Look in Plex and see the items still in the collection. If you look at your logs, I am willing to bet that the items are added into the collection AFTER the logs state that the rule execution is done.
That is just an example of what I mean.
The first example is what I am talking about and the second example is what it looks like when the rule is the one that added the items to the collection. The What I believe is happening, is that the item is in the Plex collection and was never removed by Maintainerr, like it probably should have been at some point. When the rules are ran, Maintainerr is syncing with Plex, and those items are being added into the collection as manual additions. If you had a rule and collection in both Plex and Maintainerr, and manually added something to the collection in Plex...Maintainerr syncs that item into the Maintainerr collection as a manual addition. The same works with exclusions. This is expected behavior. @benscobie for some reason, changing a rule is not being synced back to Plex to clear out the collection. In Maintainerr the collection will show 0 items, unless you Run Rules right after, but in Plex the items are still in there. When the rule runs again, anything that doesn't meet rule criteria is added as a Manual addition, instead of being removed from the collection. I cannot recreate this on my own instance, but I have seen it a few times recently. SORRY FOR THE NOVEL! |
It could be that ^ yes. #1467 will fix that. |
@adrianipopescu please try v2.4.1. You may want to recreate the rule(s) that had this problem. |
tried, worked, can mark this as closed. thank you for your time |
Describe the bug
I have a rule to filter tv shows for deletion. That rule's outcome during test media returns false for a few items yet when I run the rule they get added to the collection anyway.
To Reproduce
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: