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.
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:
"LocationType": "FileSystem"and are correctly marked as played."LocationType": "Virtual"and are not played.It would probably make sense to exclude items where:
This seems to explain multiple cases where users are not detected in
sw_allEpisodesSeenBydespite having fully watched the series in Jellyfin.