Code: Select all
W:/{genres.contains('Animation') ? 'Cartoons' : languages =~ /(no|da|sv|nb)/ ? 'Nordic Movies' : 'New Movies'}/{languages =~ /(no|da|sv|nb)/ ? primaryTitle.upperInitial().replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!") : n.replaceFirst(/^(?i)(The)\s(.+)/,/$2, $1/).replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!")} ({y}){' '+tags}/{languages =~ /(no|da|sv|nb)/ ? primaryTitle.upperInitial().replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!") : n.replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!")} ({y}){' '+tags}{' ['+"${self.source ?: 'Web-DL'}"+']'}{' ['+vf.replace(/2160p/, "4K")+']'}{fn =~ /AMZN|AMAZON|amzn/ ? ' [AMAZON]' : fn =~ /NF|nf|NETFLIX/ ? ' [NETFLIX]' : fn =~ /dsnp|DSNP|Disney+|DISNEY+/ ? ' [DISNEY+]' : null}{boolean isHDR = false;def mHDRCol = ["BT.709" : "NO", "BT.2020" : "YES"];if(self.video[0].bitdepth != null && self.bitdepth >= 10 && self.video[0].colourprimaries != null && mHDRCol.get(self.video[0].colourprimaries) == "YES") ' [HDR]' else null;}{video[0].CodecID =~ /HEVC/ ? ' [HEVC] '+' ' : null}{if (bitdepth == 10) ' [10bit]'+' '}{' '+"[$ac "+af.replace('8ch', '7.1ch').replace('7ch', '6.1ch').replace('6ch', '5.1ch').replace('3ch', '2.1ch').replace('2ch','2.0ch')+']'}{' ['+fn.matchAll(/repack|proper/).join('] [').toUpperCase()+']'}{'-'+group}{'.'+lang.ISO2}{fn.match(/-thumb|[.]nfo/)}
tank you