Recently Added items in TV library has old items stuck at front - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Recently Added items in TV library has old items stuck at front (/t-recently-added-items-in-tv-library-has-old-items-stuck-at-front) |
Recently Added items in TV library has old items stuck at front - Joel Stockley - 2024-11-04 I have a media library with TV shows in it only. I have 3 series that had multiple episodes that had file creation/modified dates in 2099. They have been stuck at the front of the recently added items in that library since they were first added/scanned in. I have edited all the files metadata to dates from 2022-2023. I have tried rescanning media in that library with refresh all items and regular updates only but these are still stuck at the front. I backed up the files, removed them from the library then rescanned. I put the files back in the right folder, and rescanned again. They still show up at the front when newer items get added (in 4th place). How can I get the right logging/debugging done to resolve this? RE: Recently Added items in TV library has old items stuck at front - TheDreadPirate - 2024-11-04 When you say you edited the metadata, do you mean the file creation date or something in Jellyfin? You can also change jellyfin to use the date a file was added to the library for how the "recently added" section. Dashboard > Libraries > Display. RE: Recently Added items in TV library has old items stuck at front - Joel Stockley - 2024-11-04 I edited the files directly via powershell. I made this script and ran it for each of these shows' affected seasons: #All files in folder $files = get-childitem "X:\Example\Season 3" $time = (get-date).ToString("2023-10-22 HH:mm:ss") Foreach ($file in $files) { $file.LastWriteTime = $time $file.CreationTime = $time } The files appear to be correct in file explorer and both the creation and modified dates are 22nd October 2023. For the recently added section in dashboard > libraries > display it is currently set to Use Date scanned into the library. I did prefer that when i set this up as many files have creation/modified dates all over the place between 1970 - yesterday. RE: Recently Added items in TV library has old items stuck at front - andres87 - 2024-11-04 I have the same issue. All other libraries are working correctly but the TV Shows one isn't. I was a bit confused as to why was this happening, until I saw in the metadata they had the "added date" set to random absurd dates like January 2077 or so. I checked my PC date and the creation date of the files but everything was correct and deduced it was a Jellyfin bug. So I went one by one manually replacing the metadata, about half of the library had the weird metadata. Now if I order the TV Shows by date added it works perfectly fine but the "Recently Added" section is still very wrong. Like, it's showing a show added in February, another in May and so on and not showing any of the shows added this week. I tried disabling the Recently Added for TV Shows and enabling it again but that didn't work. I also have it set to show by "date scanned" instead of "creation date" because I have very old files in the system I move slowly to the Jellyfin folder over time and they retain the old creation date. So the good news is that it's not just you. RE: Recently Added items in TV library has old items stuck at front - TheDreadPirate - 2024-11-04 You may have to "replace all metadata" for the shows whose files had weird dates. RE: Recently Added items in TV library has old items stuck at front - andres87 - 2024-11-04 Unfortunately in my case this didn't work. I guess the only way would be to completely remove the shows and add them again but then the old shows would appear as recently added so not really a perfect fix. RE: Recently Added items in TV library has old items stuck at front - Joel Stockley - 2024-11-07 I did get this fixed it seems. I removed all 3 problematic shows completely from the folders, and rescanned. I then rebooted the jellyfin server, rescanned again. The next day I then put one of the shows back in its folder and rescanned. It showed up as the newest item in recently added as expected. I then added a new episode of a totally different show, and rescanned. This showed up as the newest item in front of the previously problematic one. So I put the other 2 shows files back in their folders and left it to scan on the normal schedule - the next day the another different episode for a different show was added and these two problematic shows were now #2 and #3 in the recently added as they should be. Maybe it was the reboot, maybe it was leaving it overnight each time or for more than 1 rescan.... |