• 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 General Questions Prevent updated media from showing up as new again

     
    • 0 Vote(s) - 0 Average

    Prevent updated media from showing up as new again

    koenlol
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 May
    Reputation: 0
    Country:Norway
    #3
    2025-05-30, 08:22 PM (This post was last modified: 2025-05-31, 12:05 AM by koenlol. Edited 1 time in total.)
    This was bothering me too. I found a solution that has been working well for me, and I figured I'd post it in case someone comes across this thread looking for an answer like I did.

    I configured Jellyfin to use file creation date in the 'Date added behavior for new content' setting. Then, I set up a custom script that:
    • On 'Grab' looks for existing versions of the media in the library folders. If found, it extracts the file's creation date and saves it to a temporary file.
    • On 'Import'/'Upgrade' changes the newly imported file's creation date to match the original, and deletes the temporary file.
    • Triggers a Jellyfin library rescan after importing if an API key is provided.

    I'll share the script I've been using, but be warned, it's AI-generated: https://pastebin.com/jem4Yf6B
    You'll need to change the variables at the top of the script. After that, set it to run on 'Grab' and 'Upgrade' events in Radarr/Sonarr (Settings > Connect > Custom Script).

    It's been working well on my server (ubuntu), but I don't know how it will work in other environments. I think the way your folder structure and naming schemes are set up is important. A log file should be created next to the script that might help with trouble-shooting.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Prevent updated media from showing up as new again - by rawlwear - 2024-11-08, 04:11 AM
    RE: Prevent updated media from showing up as new again - by Efficient_Good_5784 - 2024-11-08, 07:23 AM
    RE: Prevent updated media from showing up as new again - by koenlol - 2025-05-30, 08:22 PM
    RE: Prevent updated media from showing up as new again - by randomdude - 2025-07-11, 07:00 PM

    • 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