so on the latest windows 7 version it puts them it in:
H:\TV Shows\Show Name\Season\[Specials] [WEB-DL]\
But on the windows 10 it puts them in:
H:\Show Name\[WEB-DL]
I used the same script on both the Windows 10 and Windows 7 version in testing (I have 2 PCs). and the only thing I can figure is possibly the Episode.Specials changed so it doesn't Recognize it as a special to organize it. no that can't be it i just noticed it's keeping the S00 in the filenames. i'm not sure what has changed between the two to affect it. - this only happens with specials. season episodes are working fine.
i wasn't going to post my script but if episode.special isn't the problem, i have no idea what else it could be. I do want to go in and change a few things like the
any{source}{'No Source'} i read in another post today. i'd also like to find a way to match the full Season put all episodes in the same folder and have it add the source to the season folder as it currently does - but if it has mixed sources have it add them to the same folder and have it labeled as (Mixed) - Though i'm not sure how to do that or if it's even possible.
anyhow, here's my naming script.
Code: Select all
{model.episode.containsAll(episodelist.findAll{it.season == s && it.episode && it.title}) ? 'H:/Live Action/[Naming]/[Finished]/'+(csv('C:/FileBot Settings/TV/TVGenreFolderBasedOnSeriesName.csv').get(n) ?: genre)+'/' : 'H:/Live Action/[Naming]/[Current Seasons]/'+(csv('C:/FileBot Settings/TV/TVGenreFolderBasedOnSeriesName.csv').get(n) ?: genre)+'/' + '/'}{norm = {it.upperInitial().lowerTrail().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/\b[IiVvXx]+\b/, { it.upper()}).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, {it.lower()})}; norm(n).replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).replaceTrailingBrackets()}{' '+n.match(/\([A-Z]+\)$/)}{if (norm(n) != norm (primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{if (y) {' ['+y +']'}}{' '+any{"[$certification]"}{"["+$imdb.certification+"]" }.replaceAll('N A','').replaceAll(/^ \d+$/, 'PG-$0')}{" [$rating" + "★]"} [{csv('C:/FileBot Settings/TV/TVNetwork.csv').get(info.network) ?: info.network }]/{[episodelist.findAll{ it.season == s }.airdate.year.min()]} {episode.special ? ' - Season '+s.pad(2)+'/[Specials]' : ' - Season '+s.pad(2)}{" ($source)"}/{csv('C:/FileBot Settings/TV/TVFileShowNames.csv').get(n) ?: norm(n).replaceTrailingBrackets()}{' '+n.match(/\([A-Z]+\)$/)}{' '+n.match(/\([0-9]+\)$/)} {episode.special ? '- S00E'+special.pad(2)+' -' : '- '+s00e00+' -'} {norm(t.replaceAll("\\s*[(]([^)]*)[)]\$", { group, match -> ' (Part '+match.pad(2)+')' }))}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{' (' + file.path.matchAll(/extended|uncensored|remastered|unrated|uncut|unedited|directors.cut|special.edition|unsold.pilot|broadcast.version|alternate.ending|with.original.commercials|reconstructed|with.commercials|unaired.pilot|unaired.episode/)*.upperInitial()*.lowerTrail().sort().join(') (').replaceAll(/ [._]/, " ") + ')'}{" Part $pi"}{" [$minutes Min]"}{airdate.format(" [MM.dd.yyyy]")}{fn.contains('.web.') ? ' '+' [WEB-DL]':""}{" [$source]"}{" [$vf $ac $af]"}