Page 1 of 1

Lowercase season and episode under Linux?

Posted: 22 Feb 2023, 13:21
by PriamX
Hi all.

Using the {plex} renaming format is there a property or method to change the "S01E01" string to use lowercase, like "s01e01"?

Thanks!

Re: Lowercase season and episode under Linux?

Posted: 22 Feb 2023, 14:42
by rednoah
Sorry, no built-in helper for this particular use case.


:idea: You can however use generic code to rewrite the file path that {plex} gives you:

Code: Select all

{ plex.path.replaceAll(/S\d+|E\d+/){ it.lower() } }

Re: Lowercase season and episode under Linux?

Posted: 22 Feb 2023, 16:34
by PriamX
Excellent, that'll be just fine, thank you!