Need to exclude TV shows from CLI processing.
Posted: 05 Nov 2016, 23:32
This is my current script.
I borrowed it from someone at /r/plex, and it has a lot of crap in it that I don't need - Which is fine. All I need is a way to exclude TV shows from being processed, because I use Sickbeard for them. I have it ignoring anything with tv/hdtv in the file name, but that doesn't always work - IS there a way to have it ignore something with SxxExx in its name, maybe? Or to just ignore processing of TV shows, period?
Code: Select all
"C:\Program Files\FileBot\filebot.exe" -script fn:amc "Z:/Finished" --output "Z:/Videos" --log-file amc.log --action move --conflict skip -non-strict --def clean=y --def excludeList=amc.txt --def "movieFormat=Z:/Videos/{n.replaceAll(/:\?/,'-').replacePart('')} ({y})/{n.replaceAll(/:\?/,'-').replacePart('')} ({y}){' - part'+pi}{' ('+fn.match(/Extended/).upper()+')'}{' ('+fn.match(/Unrated/).upper()+')'}{' ('+fn.match(/proper/).upper()+')'} {'['+certification+']'}{genres.take(3)}[{vf}{'.'+source}{'.'+vc}{'.'+BITDEPTH+'Bit'}{'.'+af}{'.'+ac}{'.'+fn.match(/DD5.1/).upper()}{'.'+fn.match(/IMAX/).upper()}{'.'+GROUP}]" --def skipExtract=y --def deleteAfterExtract=n