Automatic naming and moving Subtitles to Subtitles Folder

All about user-defined episode / movie / file name format expressions
Post Reply
Bulbadrick
Posts: 1
Joined: 28 May 2025, 23:34

Automatic naming and moving Subtitles to Subtitles Folder

Post by Bulbadrick »

I use this Expression to name my TV Shows and Subtitles for them,

Format: Select all

f:\(01) - TV Shows\{n.colon' - '} [{y}] { model.episode.containsAll(episodelist.episode) ? - ' [Complete]' :- ' [Incomplete]' }/{'Season '+s.pad (2)} {SY}/{n.colon' - '} - {s00e00} - {t.removeAll(/[!?]+$/).colon' - '}{Subtitles.colon' - '} {cy}{- subt.replace(".eng":" (English Subtitles)")}
Which gives me this, when naming subtitles,

f:/(01) - TV Shows/Futurama [1999] - [Incomplete]/Season 01 [1999]/Futurama - S01E02 - The Series Has Landed - (English Subtitles)

What do I need to change to make it automatically move the subtitles files into the subtitles folder when I'm naming both the shows and subtitles?
Like this for TV shows.

Code: Select all

f:/(01) - TV Shows/Futurama [1999] - [Incomplete]/Season 01 [1999]/Futurama - S01E02 - The Series Has Landed
And this for subtitles.

Code: Select all

f:/(01) - TV Shows/Futurama [1999] - [Incomplete]/Season 01 [1999]/Subtitles/Futurama - S01E02 - The Series Has Landed - (English Subtitles)
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automatic naming and moving Subtitles to Subtitles Folder

Post by rednoah »

You can add a condition at whichever position you want to insert the extra Subtitles/ bit:

Format: Select all

{ if (f.subtitle) 'Subtitles/' }
:idea: Please read the FAQ and How to Request Help.
Post Reply