Page 1 of 1

Use Sub. In Resolution

Posted: 10 Jul 2025, 13:04
by DigidocTN
I am using the following when renaming episodes:

Format: Select all

{n.upperInitial ()} {s.pad 2}x{e.pad 2} {t} {" [$vf]"}
This gives me the following:

Code: Select all

Them 01x10 Day 10 [2160p]
Is it possible to replace the [2160p] portion of the name with the simpler [4K] instead?

Thanks.

Re: Use Sub. In Resolution

Posted: 10 Jul 2025, 13:10
by rednoah
e.g.

Format: Select all

{ n.upperInitial() } { s00e00.replace('S':'', 'E':'x') } {t} [{ vf.replace('2160p':'4K') }]

Code: Select all

Alias 01x01 Truth Be Told [4K]

Re: Use Sub. In Resolution

Posted: 10 Jul 2025, 16:08
by DigidocTN
Exactly. Thanks for the reply.