i've been using the following expression for years, recently the Season Year/Airdate stopped working.
Instead of
Code: Select all
Series, The/Season 01 (SeasonYear)/SeriesName - S00E00 - EpisodeName [Resolution, Source, Codec]
the statement now returns the following with the SeasonYear remaining empty
Code: Select all
Series, The/Season 01 ()/SeriesName - S00E00 - EpisodeName [Resolution, Source, Codec]
The statement is as follows
Code: Select all
N:/{n.replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/).colon(' - ')}/{'Season '+s.pad(2)} ({episodelist.findAll{ it.season == s }.airdate.year.min()})/{n} - {s00e00} - {t} [{vf}{', '+source}{', '+vc}]{subt}