Subtitle (srt) language file rename not working after update

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Savvy
Posts: 16
Joined: 07 May 2012, 07:42

Subtitle (srt) language file rename not working after update

Post 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"}
User avatar
rednoah
The Source
Posts: 23097
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Savvy
Posts: 16
Joined: 07 May 2012, 07:42

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

Post by Savvy »

thats a shame, but thanks for clarifying.

Sav
Post Reply