Describe the bug
When using the Jellyfin.sw_watchers field in a season‑level rule, Maintainerr incorrectly assumes the user has watched the entire season and marks it for deletion, even though only half of the episodes were actually watched.
To Reproduce
Have the following rule:
mediaType: SEASONS
rules:
- "0":
- operator: AND
firstValue: Seerr.isRequested
action: EQUALS
customValue:
type: boolean
value: "true"
- operator: AND
firstValue: Jellyfin.sw_watchers
action: EQUALS
lastValue: Seerr.addUser
- "1":
- operator: AND
firstValue: Jellyfin.sw_favoritedBy_including_parent
action: EQUALS
lastValue: Seerr.addUser
- operator: OR
firstValue: Jellyfin.sw_favoritedBy_including_parent
action: COUNT_EQUALS
customValue:
type: number
value: 0
- "2":
- operator: AND
firstValue: Jellyfin.lastViewedAt
action: BEFORE
customValue:
type: custom_days
value: "1"
Have a season on Jellyfin where just some episodes were watched
The problem is with the first part (id 0) of the rule as it believes user root watched the whole season:
- id: 0
result: true
ruleResults:
- action: equals
firstValueName: Seerr - Requested in Seerr
firstValue: 1
secondValueName: boolean
secondValue: 1
result: true
- operator: AND
action: equals
firstValueName: Jellyfin - [list] Users that watch the show/season/episode
firstValue:
- root
secondValueName: Seerr - Requested by user (Jellyfin, Emby, Plex or local username)
secondValue:
- root
result: true
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
As can be seen below, last 3 episodes are not watched
Device (please complete the following information):
- OS: Debian
- Version 3.8.0
- Server: Jellyfin
Debug logs
Additional context
Add any other context about the problem here.
Describe the bug
When using the Jellyfin.sw_watchers field in a season‑level rule, Maintainerr incorrectly assumes the user has watched the entire season and marks it for deletion, even though only half of the episodes were actually watched.
To Reproduce
Have the following rule:
Have a season on Jellyfin where just some episodes were watched
The problem is with the first part (id 0) of the rule as it believes user root watched the whole season:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
As can be seen below, last 3 episodes are not watched
Device (please complete the following information):
Debug logs
Additional context
Add any other context about the problem here.