Skip to content

jellyfin lastWatched is null on unwatched items #2486

@Simon-Eklundh

Description

@Simon-Eklundh

Describe the bug
A clear and concise description of what the bug is.
When using the jellyfin "last watched"/"last view date" rule, if a show hasn't been watched, the date is null and the custom days become 864000:

  • operator: AND
    action: before
    firstValueName: Jellyfin - Last view date
    firstValue: null
    secondValueName: custom_days
    secondValue: 864000
    result: false

To Reproduce
Steps to reproduce the behavior:

  1. add a show rule for jellyfin. specifically a last view date rule
  2. set the second value to custom days before 10 days
  3. save
  4. Go to go to collections
  5. Click on a show collection
  6. Click on "test media"
  7. write a show nobody on your server has ever watched
  8. note that it doesn't have a working lastViewDateExpected behaviorA clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • OS: unraid (docker
  • Version: 3.1.0

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions