• 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 Media Scanning & Identification Dealing with "New:" in Folder title

     
    • 0 Vote(s) - 0 Average

    Dealing with "New:" in Folder title

    Problems with scraping
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-02-15, 03:30 PM (This post was last modified: 2024-02-15, 03:32 PM by Efficient_Good_5784. Edited 1 time in total.)
    Jellyfin doesn't have that type of functionality to remove any string from file names.

    What you can do is create a script to do this for you.

    If your media is on a linux server, you can create a bash script that will:
    1. Find either all files of that type (and use grep to only get results with "New:"), or files that contain "New:" in the filename, and make a list of the found files.
    2. Use something like sed to replace all instances of "New:" as "".
    3. Pass on a new list of only edited filenames (along with their full paths).
    4. Use both the old and new lists to copy the actual files from their old names to their new names in the same path.
    5. Use the old list to remove the old files.

    You can then make a cron task that uses this script on a daily basis to rename your files for you.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Dealing with "New:" in Folder title - by Elsmandino - 2024-02-15, 12:31 PM
    RE: Dealing with "New:" in Folder title - by Efficient_Good_5784 - 2024-02-15, 03:30 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