TV Shows sorting "Date Episode Added" not working #6649

Closed
opened 2026-02-07 03:56:21 +03:00 by OVERLORD · 26 comments
Owner

Originally created by @Goby92 on GitHub (Jan 12, 2025).

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

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

Image

Image

Image

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

- OS:Docker
- Linux Kernel:
- Virtualization: Docker
- Clients: Browsers (Chrome & Firefox), NVidia shield Pro, Ipad,...
- Browser:Firefox 134.0, Chrome 131.0.6778.265
- FFmpeg Version: NA
- Playback Method: NA
- Hardware Acceleration: none
- GPU Model: NA
- Plugins: AudioDB, Jellyfin Xtream, MusicBrainZ, OMDb, Playback Reporting, Studio Images, TMDb, TVmaze, TheTVDB.
- Reverse Proxy: None
- Base URL: None
- Networking:
- Storage: NAS Synology

Jellyfin logs

None

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @Goby92 on GitHub (Jan 12, 2025). ### This issue respects the following points: - [x] This is a **bug**, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/). - [x] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_. - [x] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue. - [x] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct). - [x] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one. ### 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 ![Image](https://github.com/user-attachments/assets/cddcaedd-ab94-4cdc-914a-9437fde14671) ![Image](https://github.com/user-attachments/assets/ecbb5596-7c8a-4b08-9922-29b129b5f70b) ![Image](https://github.com/user-attachments/assets/85e422e8-4f82-482d-82a9-adc9c0a409f2) ### 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 ```markdown - OS:Docker - Linux Kernel: - Virtualization: Docker - Clients: Browsers (Chrome & Firefox), NVidia shield Pro, Ipad,... - Browser:Firefox 134.0, Chrome 131.0.6778.265 - FFmpeg Version: NA - Playback Method: NA - Hardware Acceleration: none - GPU Model: NA - Plugins: AudioDB, Jellyfin Xtream, MusicBrainZ, OMDb, Playback Reporting, Studio Images, TMDb, TVmaze, TheTVDB. - Reverse Proxy: None - Base URL: None - Networking: - Storage: NAS Synology ``` ### Jellyfin logs ```shell None ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bugui & ux labels 2026-02-07 03:56:21 +03:00
Author
Owner

@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

@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
Author
Owner

@felix920506 commented on GitHub (Feb 16, 2025):

I am not seeing this behavior on 10.10.3

@felix920506 commented on GitHub (Feb 16, 2025): I am not seeing this behavior on 10.10.3
Author
Owner

@KeenanDavino commented on GitHub (Feb 16, 2025):

I am not seeing this behavior on 10.10.3

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.

@KeenanDavino commented on GitHub (Feb 16, 2025): > I am not seeing this behavior on 10.10.3 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.
Author
Owner

@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.

@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.
Author
Owner

@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?

@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?
Author
Owner

@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.

@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.
Author
Owner

@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.

Image Image
@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. <img width="1512" alt="Image" src="https://github.com/user-attachments/assets/1950bdfc-45f4-4590-8221-d2b8f337c9f8" /> <img width="1512" alt="Image" src="https://github.com/user-attachments/assets/e1857868-0e7e-411e-8f4c-84b224536750" />
Author
Owner

@zakmac1 commented on GitHub (Mar 8, 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.

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.

@zakmac1 commented on GitHub (Mar 8, 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. 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.
Author
Owner

@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!

@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!
Author
Owner

@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.

@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.
Author
Owner

@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
Image

@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 ![Image](https://github.com/user-attachments/assets/088fefe4-6cf9-4034-aeb0-3ef6d8463651)
Author
Owner

@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

@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
Author
Owner

@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

@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
Author
Owner

@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 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
Author
Owner

@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

@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
Author
Owner

@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.

@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.
Author
Owner

@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

@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
Author
Owner

@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.

@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.
Author
Owner

@death69inc commented on GitHub (Apr 5, 2025):

Same issue was hoping to find a solution here lol

@death69inc commented on GitHub (Apr 5, 2025): Same issue was hoping to find a solution here lol
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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

Image Image

However, shows such as the below should be at teh top of the queue

Image
@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 <img width="857" height="746" alt="Image" src="https://github.com/user-attachments/assets/81c263fb-a24d-479f-b09b-dc2c1d3bd8f6" /> <img width="785" height="522" alt="Image" src="https://github.com/user-attachments/assets/874c7760-0814-4e4d-b42e-30449dbdc818" /> However, shows such as the below should be at teh top of the queue <img width="566" height="557" alt="Image" src="https://github.com/user-attachments/assets/30c77177-2306-4e1e-b8b2-d9849b5f413d" />
Author
Owner

@KeenanDavino 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

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.

@KeenanDavino 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 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.
Author
Owner

@havedill commented on GitHub (Aug 20, 2025):

Yes refresh metadata seems to work but i dont want to do that for 800+ entries

@havedill commented on GitHub (Aug 20, 2025): Yes refresh metadata seems to work but i dont want to do that for 800+ entries
Author
Owner

@KeenanDavino commented on GitHub (Aug 20, 2025):

Yes refresh metadata seems to work but i dont want to do that for 800+ entries

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.

@KeenanDavino commented on GitHub (Aug 20, 2025): > Yes refresh metadata seems to work but i dont want to do that for 800+ entries 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6649