Page 1 of 1

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

Posted: 16 May 2025, 08:04
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

Re: subtitles name

Posted: 16 May 2025, 09:27
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$/) }

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

Posted: 16 May 2025, 19:02
by sami56
Hi ,
where and how do we put this please
Sincerely
Sami

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

Posted: 16 May 2025, 19:09
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