1.

If you use
TheMovieDB - which allows duplicate series names - then the series name
{n} will never contain the series year:

If you use
TheTVDB - which does
not allow duplicate series names - then the series name may contain a year (2005) or a region (UK) to make the series name unique. You can use
replaceTrailingBrackets() to replace or remove trailing brackets:
2.

What is your custom format? Does your custom format handle special episodes?
(NOTE: special episodes do not have a regular episode number {e} and may or may not have a season number {s}; they do have a {special} number instead)

The
{plex} format correctly formats the TVDB episode information like so:
Code: Select all
TV Shows/Doctor Who (2005)/Specials/Doctor Who (2005) - S00E162 - The Star Beast

Perhaps you mean to use a custom format such as this to generate a file name such as this:
Code: Select all
Doctor Who - S00E162 - The Star Beast