Hi folks,
as the title suggests, I am having problems getting filebot to recognise the renaming format {lang.upperInitial()}
{lang} on its own returns the correct language for a subtitle file, but as soon as I add .upper() or .upperInitial() no language descriptor appears on the file name at all. I am a noob with FileBot and groovy so please forgive my ignorance. I've searched for existing answers on the forum here but not found anything
many thanks
Wassy
Help needed renaming lang.upperInitial()
Re: Help needed renaming lang.upperInitial()
That's because lang is of type Locale, not String.
e.g.
e.g.
Code: Select all
{lang.toString().upper()}
Code: Select all
{lang.ISO3Language.upper()}
Code: Select all
{lang.displayName.upper()}
Re: Help needed renaming lang.upperInitial()
Thanks for the help. I'll test it later today