Page 1 of 1
Simply append the letters "4K" to a filename after renaming
Posted: 19 Jun 2024, 04:15
by mdl
Been using FileBot for a long long time, but never beyond its basic function - renaming movies and TV episodes.
I simply want to append a movie title with the letter "4K" after the title (and of course before the extension), with the click of a button (or a hot key).
I am sure it's possible, but how?
Thank you in advance and I apologize for the (perhaps) most basic of questions.
Re: Simply append the letters "4K" to a filename after renaming
Posted: 19 Jun 2024, 04:30
by rednoah
You can use a
Plain File Mode Preset.
Copy this configuration:

Then change the format:
And you're done. You can then load files and click your
"Add 4K" preset to add 4K to each file name. You can also configure a keyboard shortcut.
Re: Simply append the letters "4K" to a filename after renaming
Posted: 19 Jun 2024, 21:20
by mdl
Got it. Thank you very much!
Re: Simply append the letters "4K" to a filename after renaming
Posted: 20 Jun 2024, 17:45
by mdl
Since I would like to accomplish this while renaming, is there a way to do this same thing without reverting to the original file name?
For example: I add a file, match (which cleans up the file name), then when I apply the preset script, it reverts to the original file name, plus the added "4K".
Thanks again....
Re: Simply append the letters "4K" to a filename after renaming
Posted: 21 Jun 2024, 03:50
by rednoah

If you're using
Movie / Episode Mode, then
{fn} 4K as format makes no sense of course, since that format does not use any
Movie / Episode information.

What
movie / episode format are you currently using?

If you're using the
{plex} format then you'll want do start with something like this:
NOTE: In this case, we do not simply append "4K" to the file name, and instead only add "4K" to video files that actually have a 4K video resolution. See Conditional Structures (if-then-else) for details.
Re: Simply append the letters "4K" to a filename after renaming
Posted: 21 Jun 2024, 05:04
by mdl
That worked great, I just added the if statement to my current format. You made things a lot better and I appreciate it. Thank you.