Skip to content

Incorrect value for Jellyfin.sw_allEpisodesSeenBy #2558

@adripo

Description

@adripo

Describe the bug
Related to #2547, I did some further debugging and found an issue with Jellyfin.sw_allEpisodesSeenBy.

It seems that Jellyfin’s API returns additional episodes (typically under Specials) that are not actually present on the filesystem. These entries have "LocationType": "Virtual".

API Example: https://domain.ltd/Shows/[SHOW_ID]/Episodes?UserId=[USER_ID]

In the same series:

  • Regular episodes have "LocationType": "FileSystem" and are correctly marked as played.
  • Some “Specials” entries (e.g. backstage content) have "LocationType": "Virtual" and are not played.

It would probably make sense to exclude items where:

LocationType != "FileSystem"

This seems to explain multiple cases where users are not detected in sw_allEpisodesSeenBy despite having fully watched the series in Jellyfin.

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