mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
TV Shows sorting "Date Episode Added" not working #6649
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 @Goby92 on GitHub (Jan 12, 2025).
This issue respects the following points:
Description of the bug
For TV shows, the sorting by "Date Episode Added" is not working properly actually sort the same way of "Date show added"
Reproduction steps
What is the current bug behavior?
Sorting "Date Episode added" is not working properly
What is the expected correct behavior?
TV shows should be sorted with the last episode added.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.3
Specify the build version
10.10.3
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@KeenanDavino commented on GitHub (Feb 9, 2025):
I also have this bug when sorting anime shows by date episode added. Some series work some don't. One series has an episode scanned in on feb 7th but is down by the dec 2024 last episode added series
@felix920506 commented on GitHub (Feb 16, 2025):
I am not seeing this behavior on 10.10.3
@KeenanDavino commented on GitHub (Feb 16, 2025):
Unfortunately I already downgraded from 10.10.5 to 10.10.3 and still had the issue. I'm starting to think it's either series specific or has to do with series with multiple seasons all grouped together.
@Goby92 commented on GitHub (Feb 17, 2025):
Same here. I was hoping to get the problem solved wit 10.10.5 but actually not. I've added episodes of 6 tv shows since my first post and none of it are well sorted.
@felix920506 commented on GitHub (Feb 28, 2025):
Those fields sort by the date things were added TO JELLYFIN, and as far as I can tell the function is working as intended. I don't know what date you expected it to be using, the date the episodes aired?
@Goby92 commented on GitHub (Feb 28, 2025):
There are two sorts by date.
"Date show added" is the date you add the 1st episode TO JELLYFIN. This one works.
"Date episode added" should be the date you add a new episode TO JELLYFIN. This one doesn't work properly. i.e. when you add the 1st episode of a new season the show is still sorted by the date you add the first season.
So basically there is no difference between the two sorting always a sort by show added.
@felix920506 commented on GitHub (Feb 28, 2025):
I sorted by the date episode added on my 10.10.6 server and it correctly sorts by the day I last added episodes onto Jellyfin. And the 2 options do actually sort differently. You should check the metadata on your Jellyfin server to make sure the episode added dates are what you expect them to be.
@zakmac1 commented on GitHub (Mar 8, 2025):
Try if a manual 'Search for missing metadata' on the parent folder fixes the sorting.
Observing the same on 10.10.3 and also after updating to 10.10.6.
Was suspecting that API-triggered library updates are not considered currently.
@Goby92 commented on GitHub (Mar 9, 2025):
Many thanks Zak !! It took a while to update the metadata, but at the end the sorting is OK.
The operation destroyed the trickplay though...Anyways worth it!
@KeenanDavino commented on GitHub (Mar 17, 2025):
Refreshing Metadata updated the order for me, but then immediately 2 more anime had new episodes added last night about 16 hours ago and neither were pulled to the top of the list. The episodes get added but somehow the sort appears to be still based on the 2nd to last episode added. Concluded this after examining date created/modified of the 2nd to last episode added and comparing to the other series it's sorted near in the list.
I'm using Shokofin plugin and Shoko server is managing the anime, I dont know if anyone else is using that.
@skiwlkr commented on GitHub (Mar 29, 2025):
I'm having the same issue here. Sorting of the "date episode added" doesn't sort correctly anymore. When I run a search for missing metadata on the series it get pushed to the top as it should be. I will observe if it still sort incorrrectly after downloading a new episode.
running jellyfin 10.10.1
edit:

Maybe thats the issue here? The media library scan seems to be broken and also can't be triggered manually
nevermind the german typo
@Goby92 commented on GitHub (Mar 29, 2025):
Same behavoir here without the error on scan library and with 10.10.6.
I hope it'll be fixed in the next version
@skiwlkr commented on GitHub (Mar 29, 2025):
I might have found the issue
a variable in the docker container has to be changed after 10.9. update
Check out this thread:
https://github.com/jellyfin/jellyfin/issues/11528
The library scan is running now, but the updated shows still hang around at the bottom
@Goby92 commented on GitHub (Mar 29, 2025):
I've added the variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT and set it to 0 as described. Seems to work on my test server and prod server. It's a little bit soon to say, I need to see it with the next episodes added but at least the 2 sorting (by daate of the episode and by date of the TV show) are different now.
Thanks for the tips
@Goby92 commented on GitHub (Mar 30, 2025):
It seems that this new setup solved the sorting issue but the TV show library is not auto updating anymore. The movie library is not impacted though.
Edit : actually everything works fine. Thanks for the help
@KeenanDavino commented on GitHub (Apr 1, 2025):
Does this DOTNET_SYSTEM_GLOBALIZATION_INVARIANT setting exist on the windows version? I'm not using the docker container.
@skiwlkr commented on GitHub (Apr 3, 2025):
Not sure why the issue is marked as complete. The failure persists - TV shows are not getting sorted by latest episode added. Only when triggered manually for missing metadata
@KeenanDavino commented on GitHub (Apr 3, 2025):
Not resolved for me either. DOTNET_SYSTEM_GLOBALIZATION_INVARIANT seems to be a docker specific setting, but if that setting exists in the windows server version let me know where it is and i will test if that fixes it for me.
@death69inc commented on GitHub (Apr 5, 2025):
Same issue was hoping to find a solution here lol
@Yingste commented on GitHub (May 5, 2025):
Also appear to be having this issue. It only seems to update when I run a manual refresh all metadata for the library. If I check the date for a newly added item before the metadata refresh it is correct but doesn't seem to sort until after the refresh.
@draperbr commented on GitHub (Aug 9, 2025):
This is still broken in 10.10.7. If I run a "Scan for missing metadata", it fixes it as that point in time. But when a new show is added after that, it doesn't sort correctly until "Scan for missing metadata" is run again.
I tried adding the DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 variable as described, but it had no effect.
@KeenanDavino commented on GitHub (Aug 12, 2025):
Yep sorting is broken still. DanDaDan season 2, for example, is not going near the top when sorting by "last episode added" even though it is has episodes added recently. It seems like the 2nd season doesn't count at all it's only sorting based on the first season. If I sort by "last played" it comes up to the top. This is after i added the DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 variable in Windows as someone else told me how to.
@havedill commented on GitHub (Aug 19, 2025):
I'm seeing this too. Tried the ENV variable (docker) no luck. Example, the first listing was episoded added 8/15/2025
However, shows such as the below should be at teh top of the queue
@KeenanDavino commented on GitHub (Aug 19, 2025):
Unfortunately I am doing anime via ShokoFin integration so it's not the same use case as you, however i was able to fix my sorting by doing a metadata refresh that "replace all metadata" on each affected series. If you have the option, give it a try.
@havedill commented on GitHub (Aug 20, 2025):
Yes refresh metadata seems to work but i dont want to do that for 800+ entries
@KeenanDavino commented on GitHub (Aug 20, 2025):
ya... unfortunately it's only temporary anyway. I had fixed a series like this (Shield Hero S4) and it just got another episode added today, but it stayed at the same spot in the list until i "replaced all metadata" again.
Something about Jellyfin is just ignoring added episodes on, what I'm guessing is, any series where the episode is added to the 2nd or later season. And the 2nd or later season matters on the metadata site like AniDB or etc, not how it's organized in Jellyfin, because I've seen a 14th episode added to the first season in Jellyfin also have this problem, but checking AniDB, that metadata site always separates each quarter of the year as a different season no matter what.