Hello,
I use this code - G:/TVCurrent/{n.sortName('$2, $1')} ({y})/Season {s} ({episodelist.findAll{it.season == s}.airdate.year.min()})/{n} - {s00e00} - {t} {vf} it works for most shows but some shows have the date in the name. E.g. the 2015 TV series called the magicians. For shows Iike this, I get - Magicians (2015), The (2015) I'd like to get Magicians, The (2015). Is this possible without writing two different scripts depending on the show title?
Removing a double date in a TV title.
Re: Removing a double date in a TV title.
Here's how I'd do it:
Code: Select all
{n.replaceTrailingBrackets().sortName('$2, $1')} ({y})
Code: Select all
Season {s} ({sy[0]})
Re: Removing a double date in a TV title.
Fantastic! Thanks