Unwatched episode count incorrect #6751

Closed
opened 2026-02-07 04:03:49 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @felix920506 on GitHub (Feb 18, 2025).

Description of the bug

The number of unwatched episodes for shows are incorrect.
In some cases, there may be more unwatched episodes displayed than the actual number of episodes.

The seasons seem to be counted as unwatched episodes from the mismatch in numbers

A rescan of scan for new and updated files type seems to fix the problem

Example 1: 13 episodes in 1 season, 1 season total, all unwatched
Total unwatched: 14
Image

Season 1 unwatched: 13
Image

Example 2: 4 seasons total, all watched, showing 4 episodes unwatched
Image

Image

Reproduction steps

  1. Add shows and scan the shows in on a 10.10 server
  2. Upgrade to unstable
  3. Open shows library
  4. see error

What is the current bug behavior?

The number of unwatched episodes of a given show is wrong

What is the expected correct behavior?

the number of unwatched episodes should be correct

Jellyfin Server version

Unstable

Specify commit id

No response

Specify unstable release number

2025021706

Specify version number

No response

Specify the build version

10.11.0

Environment

- OS: Ubuntu 24.04
- Linux Kernel: 6.8.0-51-generic
- Virtualization: Docker
- Clients: Web
- Browser: Firefox
- FFmpeg Version: bundled
- Playback Method: N/A
- Hardware Acceleration: QSV
- GPU Model: N100
- Plugins: DLNA
- Reverse Proxy: None
- Base URL: /jellyfin
- Networking: docker port forward
- Storage: SMB

Jellyfin logs

Nothing is generated

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @felix920506 on GitHub (Feb 18, 2025). ### Description of the bug The number of unwatched episodes for shows are incorrect. In some cases, there may be more unwatched episodes displayed than the actual number of episodes. The seasons seem to be counted as unwatched episodes from the mismatch in numbers A rescan of scan for new and updated files type seems to fix the problem Example 1: 13 episodes in 1 season, 1 season total, all unwatched Total unwatched: 14 ![Image](https://github.com/user-attachments/assets/2a609d7c-d225-4a59-a6eb-1d10db739a04) Season 1 unwatched: 13 ![Image](https://github.com/user-attachments/assets/646116f8-11d6-4850-ac99-5ccffc502c23) Example 2: 4 seasons total, all watched, showing 4 episodes unwatched ![Image](https://github.com/user-attachments/assets/cd7e1ea4-936f-49e6-bd39-efdebe95fb27) ![Image](https://github.com/user-attachments/assets/923c02dc-24aa-4588-8c0b-830a303548fc) ### Reproduction steps 1. Add shows and scan the shows in on a 10.10 server 2. Upgrade to unstable 3. Open shows library 4. see error ### What is the current _bug_ behavior? The number of unwatched episodes of a given show is wrong ### What is the expected _correct_ behavior? the number of unwatched episodes should be correct ### Jellyfin Server version Unstable ### Specify commit id _No response_ ### Specify unstable release number 2025021706 ### Specify version number _No response_ ### Specify the build version 10.11.0 ### Environment ```markdown - OS: Ubuntu 24.04 - Linux Kernel: 6.8.0-51-generic - Virtualization: Docker - Clients: Web - Browser: Firefox - FFmpeg Version: bundled - Playback Method: N/A - Hardware Acceleration: QSV - GPU Model: N100 - Plugins: DLNA - Reverse Proxy: None - Base URL: /jellyfin - Networking: docker port forward - Storage: SMB ``` ### Jellyfin logs ```shell Nothing is generated ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bugconfirmedEFjellyfin.db labels 2026-02-07 04:03:49 +03:00
Author
Owner

@theguymadmax commented on GitHub (Feb 19, 2025):

The issue occurs only with migrated media. Refreshing the metadata updates the item count accurately.

@theguymadmax commented on GitHub (Feb 19, 2025): The issue occurs only with migrated media. Refreshing the metadata updates the item count accurately.
Author
Owner

@felix920506 commented on GitHub (Apr 27, 2025):

@JPVenson is this one fixed by the linked PR completely?

@felix920506 commented on GitHub (Apr 27, 2025): @JPVenson is this one fixed by the linked PR completely?
Author
Owner

@JPVenson commented on GitHub (Apr 27, 2025):

@felix920506 not completly. As far as i can tell there is still an issue with specials within seasons that are not counting towards the unwatched indicator. Its a 99.999 percent situation. I would close this and recheck if specials are really supposed to be counted as well

@JPVenson commented on GitHub (Apr 27, 2025): @felix920506 not completly. As far as i can tell there is still an issue with specials within seasons that are not counting towards the unwatched indicator. Its a 99.999 percent situation. I would close this and recheck if specials are really supposed to be counted as well
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6751