Rename with double digit season

All about user-defined episode / movie / file name format expressions
Post Reply
namgorf2001
Posts: 7
Joined: 10 Jan 2020, 22:25

Rename with double digit season

Post by namgorf2001 »

Currently there is:

Code: Select all

{n} - {sxe} - {t} to give you 
Firefly - 1x01 - Serenity

and there's

Code: Select all

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

how would i get {n} - {sxe} - {t} to give me 01 instead of just 1? like the second example, just without the S.

Thank you in advance.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename with double digit season

Post by rednoah »

sxe.pad(5) would be the easiest solution.

Code: Select all

{sxe.pad(5)}
:idea: Please read the FAQ and How to Request Help.
namgorf2001
Posts: 7
Joined: 10 Jan 2020, 22:25

Re: Rename with double digit season

Post by namgorf2001 »

You're the best. Thank you.
Post Reply