Removal of Year in TV Show Name

Any questions? Need some help?
Post Reply
TVjunkie
Posts: 14
Joined: 21 Nov 2013, 17:36

Removal of Year in TV Show Name

Post by TVjunkie »

Continuing to implement FileBot to Automate my TV library. It's coming along great! Now I'm mainly down to the exceptions, like the following.

Is there a means in the -Rename formatting to remove a year from a TV show name? ...and still have the formatting work ok with shows that don't specify a year?

ie: Castle 2009 S06E10 HDTV x264-LOL[ettv]

...creates a folder called: Castle (2009)

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

Re: Removal of Year in TV Show Name

Post by rednoah »

Make the format take care of that. Hit the docs, some of the episode format examples do exactly that.
:idea: Please read the FAQ and How to Request Help.
TVjunkie
Posts: 14
Joined: 21 Nov 2013, 17:36

Re: Removal of Year in TV Show Name

Post by TVjunkie »

Yup! Found it!

".replaceTrailingBrackets()" took care of the year and also country (ie. US).

Just took some took some thought to figure out the right syntax for it.

Gotta love this program!
Post Reply