Renaming subtitle language?

Any questions? Need some help?
Post Reply
matthewbartlett
Posts: 1
Joined: 23 Aug 2019, 08:51

Renaming subtitle language?

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

Re: Renaming subtitle language?

Post 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')}
:idea: Please read the FAQ and How to Request Help.
Post Reply