Page 1 of 1

Rename format help

Posted: 10 Jan 2020, 22:29
by namgorf2001
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.

Re: Rename format help

Posted: 10 Jan 2020, 22:38
by rednoah
e.g.

Code: Select all

{s.pad(2)}x{e.pad(2)}

Re: Rename format help

Posted: 11 Jan 2020, 07:59
by namgorf2001
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.