Page 1 of 1

Renaming subtitle language?

Posted: 23 Aug 2019, 08:59
by matthewbartlett
Hi,

I usually download chinese subtitles from another site as it includes both English and Chinese which helps me learn, but when I rename them using Filebot, it'll automatically change the extension to 'xxxx.eng.srt'.

Is there any way to change the 'eng' part to a 'zh' or anything else?

Thank you!

Re: Renaming subtitle language?

Posted: 23 Aug 2019, 09:27
by rednoah
Yes, you can hardcode the language suffix in your custom format:
https://www.filebot.net/naming.html


e.g. custom snippet:

Code: Select all

{if (f.subtitle) '.zho'}

e.g. if you're using the {plex} binding, then you can do String replacement like so:

Code: Select all

{plex.path.replace('.eng', '.zho')}