Capitalization

All about user-defined episode / movie / file name format expressions
Post Reply
Retz59
Posts: 2
Joined: 18 Nov 2019, 12:26

Capitalization

Post by Retz59 »

I have been using the following preset to rename my tv show episodes: {n}/{'Season '+s}/{n} {SXE} {t}, does anyone know why the "X" always turns into a "x" after renaming and how to fix it so it renames using a capital "X" instead of a "x" after renaming?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Capitalization

Post by rednoah »

{sxe} is just the binding name, like a variable, it's case-insensitive.

You can use String.upper() to upper-case the value:

Code: Select all

{sxe.upper()}
:idea: Please read the FAQ and How to Request Help.
Retz59
Posts: 2
Joined: 18 Nov 2019, 12:26

Re: Capitalization

Post by Retz59 »

Well, that did the trick! Thank you very much indeed...!
Post Reply