Change subtitle format in Filebot

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
AquaRelliux
Posts: 5
Joined: 06 Jan 2019, 13:15

Change subtitle format in Filebot

Post by AquaRelliux »

Hello Filebot forums

I am new here and I am fairly fresh on Filebot and regexp. I am wondering if it is possible to change the subtitle language setting in filebot. I want .eng to be .en and .swe to be .sv. Beacuse that is how my Sub-zero subtitles is setup and also how my Plex scans the libraries:

Image
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Change subtitle format in Filebot

Post by rednoah »

Sure, just use the ISO2 property of the Language object you get via {lang}:

Code: Select all

{lang.ISO2}
:idea: Please read the FAQ and How to Request Help.
AquaRelliux
Posts: 5
Joined: 06 Jan 2019, 13:15

Re: Change subtitle format in Filebot

Post by AquaRelliux »

Works like a charm thanks! :)
Post Reply