I would like to Add Ended to the show name if the show is now longer running I have browsed the forum and found this
Code: Select all
{episodelist.season.max()}

In double episodes how can i change
S01E01-E02 to S01E01E02
This is my tv string
Code: Select all
{n.replaceAll(/[.:;_]/, " ") + ']'}/{episode.special ? 'Season 0' : 'Season '+s}/{csv('D:/filebot/names.csv').get(n) ?: n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}{"."+lang.getDisplayName(Locale.getDefault()).upperInitial()}
my movie string
Code: Select all
D:/Utorrent/!MOVIES/{n.sortName()[0].match((~/(?i)[0-9]/):'0-9',(~/(?i)[a-d]/):'ABCD',(~/(?i)[e-h]/):'EFGH',(~/(?i)[i-l]/):'IJKL',(~/(?i)[m-p]/):'MNOP',(~/(?i)[q-t]/):'QRST') ?: 'UVWYXZ'}/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} ({y}){' [' + file.path.matchAll(/extended|uncensored|remastered|unrated|uncut|3d|director.*cut|special.edition/)*.upperInitial()*.lowerTrail().sort().unique().join(', ').replaceAll(/[._]/, " ") + ']'} /{n.replaceAll(/[._]/," ")} ({y}) {"CD$pi"}{' [' + file.path.matchAll(/extended|uncensored|remastered|unrated|uncut|3d|director.*cut|special.edition/)*.upperInitial()*.lowerTrail().sort().unique().join(', ').replaceAll(/[._]/, " ") + ']'} {[c{source} ?: 'BDrip']}{"."+lang.getDisplayName(Locale.getDefault()).upperInitial()}