Rename format help

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
namgorf2001
Posts: 2
Joined: 10 Jan 2020, 22:25

Rename format help

Post by namgorf2001 » 10 Jan 2020, 22:29

Currently there is:

Code: Select all

{n} - {s00e00} - {t} to give you Firefly - S01E01 - Serenity 
and

Code: Select all

{n} - {sxe} - {t} to give you Firefly - 1x01 - Serenity
I need help merging them to give me 01x02 for all non-double digit items. I have been using another tool for so long and my format is:
Firefly - 01x01 - Serenity.

Any help to do this would be greatly appreciated.

User avatar
rednoah
The Source
Posts: 17316
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename format help

Post by rednoah » 10 Jan 2020, 22:38

e.g.

Code: Select all

{s.pad(2)}x{e.pad(2)}
:idea: Please read the FAQ and How to Request Help.

namgorf2001
Posts: 2
Joined: 10 Jan 2020, 22:25

Re: Rename format help

Post by namgorf2001 » 11 Jan 2020, 07:59

rednoah wrote:
10 Jan 2020, 22:38
e.g.

Code: Select all

{s.pad(2)}x{e.pad(2)}
Thank you! Worked perfectly.
Much appreciated.

Post Reply