• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Recently Added items in TV library has old items stuck at front

     
    • 0 Vote(s) - 0 Average

    Recently Added items in TV library has old items stuck at front

    Joel Stockley
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-04, 01:14 AM
    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?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-04, 01:42 AM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Joel Stockley
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-04, 01:56 AM
    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.
    andres87
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Apr
    Reputation: 0
    #4
    2024-11-04, 01:41 PM
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-11-04, 02:11 PM
    You may have to "replace all metadata" for the shows whose files had weird dates.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    andres87
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Apr
    Reputation: 0
    #6
    2024-11-04, 10:10 PM
    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.
    Joel Stockley
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #7
    2024-11-07, 08:55 PM (This post was last modified: 2024-11-07, 08:57 PM by Joel Stockley. Edited 1 time in total.)
    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....
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode