Use Sub. In Resolution

Support for Windows users
Post Reply
DigidocTN
Posts: 2
Joined: 10 Jul 2025, 12:45

Use Sub. In Resolution

Post 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.
User avatar
rednoah
The Source
Posts: 24018
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Use Sub. In Resolution

Post 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]
:idea: Please read the FAQ and How to Request Help.
DigidocTN
Posts: 2
Joined: 10 Jul 2025, 12:45

Re: Use Sub. In Resolution

Post by DigidocTN »

Exactly. Thanks for the reply.
Post Reply