Page 1 of 1

Subtitle (srt) language file rename not working after update

Posted: 28 Dec 2014, 14:35
by Savvy
Hi,

I've been using the following movie renaming script for sometime but after updating FB to v4.5.3 it no longer adds "eng" to the subtitle file (srt), can you please help?

Code: Select all

\{n} ({y}){'['+fn.replaceAll(/(?i)directors|theatrical/,'$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|IMAX.EDITION|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+']'}\{n} ({y}){'['+fn.replaceAll(/(?i)directors|theatrical/,'$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|IMAX.EDITION|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+']'}{".$lang"}

Re: Subtitle (srt) language file rename not working after up

Posted: 28 Dec 2014, 15:07
by rednoah
OpenSubtitles language detection is no longer available due to unsustainable excessive usage, with little to no benefit to average users, and not really that reliable anyway.

i.e. {lang} will work for files that are language tagged like name.eng.srt but not name.srt but you can of course force ".eng" for these kinds of files yourself in the format.

Re: Subtitle (srt) language file rename not working after up

Posted: 29 Dec 2014, 19:58
by Savvy
thats a shame, but thanks for clarifying.

Sav