video file and two .srt files and language detection
Posted: 30 Oct 2015, 17:42
I've get lost searching in the forum, but nothing came up.
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
the {".$lang"} part doesn't work.
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?
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?