Page 1 of 1
below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k
Posted: 28 Jul 2025, 14:54
by DigidocTN
I have been using Filebot for 3 years now. I also have dementia so cannot think as well as when I was younger.
My renaming needs are simple. For TV shows, I use the following expression:
Today, my name expression vanished and it reverted back to the program default. I was mostly able to recover. I would also like it to show resolution of below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k. Thanks for any help provided.
Re: 720 as SD; 720p or 1080p as HD
Posted: 28 Jul 2025, 16:41
by rednoah
DigidocTN wrote: ↑28 Jul 2025, 14:54
show resolution of below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k. Thanks for any help provided.
The
{hd} video definition class binding might just do the trick:
Alternatively, you can take full control like so:
Add Capitalization of name, genre, resolution, and encoding
Posted: 05 Aug 2025, 08:25
by DigidocTN
This works. How can I add
Capitalize Each Word In Name and add
[genre of movie] after the name? Also, if the encoding
is not HEVC, add [Not HEVC] to remind me it needs compressed. I am sorry for my poor thinking, I just break my expression when I try to fix it myself.
Here is an example of what I would like to get:
Bridget Jones Mad About The Boy (2025) [Romance, Comedy, Drama]-[4K].mkv
Articles: A, An, The removed from front of title
Posted: 05 Aug 2025, 09:12
by DigidocTN
I almost forgot. Add articles A,an,the to the end of the title. I managed to lose the code to change the title.
i.e. To change this:
The curse of bridge hollow (2022).mkv
into this instead:
Curse Of Bridge Hollow, The (2022)[Adventure, Comedy, Horror, Family]-[4K].mkv
Expression within { }
Posted: 05 Aug 2025, 09:56
by DigidocTN
I continue to try and learn. Each expression included within { } is a standalone, right? Is there a list of the published meta characters which can be used? For instance, t. is title; n. is name; s. is season, e. is episode and so on. Is there a list of all available codes? What are the codes for genre? For resolution? For encoding? For year? Do these characters come from the coding inside the Filebot program?
{t.upperInitial()} is the title for TV shows, but {n.upperInitial()} is the name for movies? Are they interchangeable or differ due to the type of lookup done? (1 rule for episode mode, another rule for movie mode?) I am not yet ready for music mode.
I assume then all these expressions can be strung together into the code you want? I am just starting to see nested expressions but do not tell me about those just yet. (They make my brain hurt). Please forgive my simplistic questions.
Re: below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k
Posted: 05 Aug 2025, 10:08
by rednoah
e.g. capitalize each word:
e.g. add
{genre} to the file path, but you likely mean to add the first 4
{genres} so that would work like so:
e.g. add
[NOT HEVC] if it's not yet encoded:
e.g. put the
The at the end:

You can thus put it all together like so:

You can find the list of top-level bindings in the
Format Expressions › Binding Reference manual page.
Re: below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k
Posted: 06 Aug 2025, 22:00
by DigidocTN
Thanks for the help, my renaming of movies is about perfect. After the naming is complete, is it possible to examine all the files in a folder, and -if- they do not include a defined year (2019); then move only those to another folder to examine then further?Perhaps to ask the year first, insert it as a variable into the expression, and move only those not containing that name?
Re: below 720 as SD; 720p or 1080p as HD, and to show resolution of 2160p as 4k
Posted: 07 Aug 2025, 04:22
by rednoah
You can add a
condition to your expression.
e.g. add this to the beginning of your format to move movies from 2019 into a separate folder from all other movies:
Shell: Select all
{ y == 2019 ? 'X:/path/to/2019-movies/' : 'X:/path/to/movies/' }