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:
You can then make a cron task that uses this script on a daily basis to rename your files for you.
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:
- 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.
- Use something like sed to replace all instances of "New:" as "".
- Pass on a new list of only edited filenames (along with their full paths).
- Use both the old and new lists to copy the actual files from their old names to their new names in the same path.
- 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.