subtitles name (add index when there are multiple French subtitles)

Support for Windows users
Post Reply
sami56
Posts: 2
Joined: 16 May 2025, 07:56

subtitles name (add index when there are multiple French subtitles)

Post by sami56 »

Hello, I have several versions of subtitles (French/Original Version/Color/Black and White) for each episode. I use the TVDB agent. Is there a way to have Filebot automatically add a (1)/1 to the end of the name so that the output names are different, please? Without having to do this manually.
Image
Thanks in advance.
Sincerely,
Sam
User avatar
rednoah
The Source
Posts: 23990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitles name

Post by rednoah »

Option A:
Use the {di} duplicate index binding to add an index.



Option B:

Use fn.match() to match information from the file path.

e.g. copy specific keywords:

Format: Select all

{ fn.match(/EN COLOUR|EN NOIR/) }
e.g. copy the - something something bit at the end whatever it may be:

Format: Select all

{ fn.match(/ - (.+)[.]fr$/) }
:idea: Please read the FAQ and How to Request Help.
sami56
Posts: 2
Joined: 16 May 2025, 07:56

Re: subtitles name (add index when there are multiple French subtitles)

Post by sami56 »

Hi ,
where and how do we put this please
Sincerely
Sami
User avatar
rednoah
The Source
Posts: 23990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitles name (add index when there are multiple French subtitles)

Post by rednoah »

:arrow: Format Expressions allow you to customize how files are named and organized. The Format Expressions manual will get you started with custom format expressions.




:idea: Please watch the video tutorial at 1:00 if you have trouble finding the Format Editor:

ScreenshotScreenshot
:idea: Please read the FAQ and How to Request Help.
Post Reply