mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Sometimes "Recently Added" directs to a specific episode instead of an entire series #7584
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nothing2obvi on GitHub (Oct 26, 2025).
Description of the bug
Sometimes, "Recently Added" directs to a specific episode instead of an entire series. This makes it somewhat confusing to navigate, and it might be the cause of issue https://github.com/jellyfin/jellyfin-roku/issues/495 for Jellyfin Roku. To clarify, it is not showing me the next episode I'm supposed to watch; it's showing the latest episode, even for series I've never watched before. This may lead to spoilers and confusion when navigating.
I noticed this before 10.11.0.
Reproduction steps
What is the current bug behavior?
Jellyfin sometimes links/directs to recently added episode instead of whole series.
What is the expected correct behavior?
Direct to whole series.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.1
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
See underneath the posters.
Additional information
No response
@CeruleanRed commented on GitHub (Nov 4, 2025):
As I ran into the same issue I did some digging. I have a "production" server running with some media files, hoping to replicate this issue in a dev environment, I copied the media files to my workstation and tried running it there as well in a dev environment with the debugger attached. The issue shows up in the exact same way for the exact same series.
I was able to track it down to this line in particular
a7d039b7c6/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs (L336)In my case, all items were returned correctly initially, but some were then filtered out based on MaxDateCreated leading to the above issue as for certain shows, only one episode is then returned.
It seems to me that the actual root of the issue is in how the grouped subquery is being built here:
a7d039b7c6/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs (L318-L325)but I don't understand exactly what the logic is trying to do. If someone could clarify what the intent and logic is there, I would be very happy to write a fix for this
@CeruleanRed commented on GitHub (Nov 4, 2025):
If anyone else is trying to reproduce this, the show that only shows up with one episode for me is Fullmetal Alchemist: Brotherhood. It only ever shows up as S1:E8 on every installation I tried
@peaynan commented on GitHub (Nov 25, 2025):
I’ve encountered exactly the same issue described in the original post: the Recently Added section incorrectly points to the last Episode instead of the entire Series. This occurs even for series where I have not watched any episodes at all, which makes browsing and navigation quite confusing.
Temporary “Fix”
I noticed an interesting phenomenon:
When I perform the following sequence of actions on a Series affected by this issue, the Recently Added section starts correctly linking to the Series (instead of a single Episode):
After performing these steps, the Series entry in Recently Added behaves normally.
Crucially, even if I revert the title change afterwards, the correct linking behavior persists.
Note: Although this operation temporarily restores correct behavior, it is not a practical long-term solution — I can’t repeat these steps every time new episodes are added.
Scope of the Issue
This issue occurs across all series within one of my Libraries
The attached screenshot shows an example from my current Libraries, specifically the Recently Added – Current Season section, where the entries display incorrect linking behavior.
Jellyfin Server Version: 10.11.3 (Deployed using the Official Docker Image)
@soultaco83 commented on GitHub (Dec 8, 2025):
I can confirm that with this PR installed that the Recently added TV and anime now have series instead of episodes.
https://github.com/jellyfin/jellyfin/pull/15433