using the GUI, until the 4.2 version, FileBot recognised automatically the language of the .srt file (.eng or .ita)
then, it dropped the task.
That's ok, I'm still using the v4.2
but I'd like to update the version, so I searched for a solution for my very simple string
Code: Select all
{n.replaceTrailingBrackets()} - s{s.pad(2)}e{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}{".$lang"}
I'm sure that the workaround it's just something related with "if condition", since I use english subtitles that contains the word "English" and italian subtitles with "ita" in it.
please, could someone point me in the right direction?