to any of this, it will get the naming ok, BUT it will get wrong fanart and nfo file from different show
Code: Select all
tvs: any{ seriesFormat }{ '''TV/{n.replaceFirst(/^(?i)(The|A|An)\\s(.+)/, /$2, $1/).replace(':', ' - ').trim()}/{n.replaceTrailingBrackets().trim().space('.')}{'.'+s00e00}{'.'+t.space('.').replaceAll(/[!?.]+$/).replacePart('(Part.$1)')}{'-'+group}{'.'+lang}''' },
{n.sortName()}
{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)}
try it out with e.g. The.Librarians.S02E01
it makes a lookup only for:
http://thetvdb.com/api/GetSeries.php?se ... anguage=en
NOT
http://thetvdb.com/api/GetSeries.php?se ... anguage=en