Adventure, Fantasy/Hobbit, The - The Battle of Five Armies [2014]

Any questions? Need some help?
Post Reply
fxgopher
Posts: 2
Joined: 12 Jan 2019, 13:51

Adventure, Fantasy/Hobbit, The - The Battle of Five Armies [2014]

Post by fxgopher » 12 Jan 2019, 14:06

Hi

My Films when I want to use filebot Are currently Name - Year. However, I want to sort films into

Code: Select all

Genres Folder\ Film Title [Year]
I want all : anywhere in the name replaced with a - symbol, and also any film that has a The at the beginning to be renamed to look like below:

Code: Select all

The Hobbit - The Battle of Five Armies 
becomes

Code: Select all

Hobbit The - The Battle of Five Armies
So the final code result would turn

Code: Select all

F:\ Films \The Hobbit - The Battle of Five Armies (2014)
Into

Code: Select all

F:\Films\Adventure, Fantasy\Hobbit, The - The Battle of Five Armies [2014]
Thanks in Advance
Frank

User avatar
rednoah
The Source
Posts: 15976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Simple code to do the following

Post by rednoah » 12 Jan 2019, 14:46

This should mostly get you there:

Code: Select all

F:/Films/{genres.take(2).join(', ')}/{n.colon(' - ').sortName('$2, $1')} [{y}]
:idea: Please read the FAQ and How to Request Help.

Post Reply