Filter to Exclude Series
Posted: 20 Sep 2016, 20:19
Looking for help on how to exclude a series from a potential match; I referenced the FAQ and Tips & Tricks, but unable to get it to work correctly.
Here is my command:
Here's the saved log:
My excludeSeries.txt contains the following:
Ultimately I'd like to use the following filter
Thanks,
JC
Here is my command:
Code: Select all
#For Reference: --filter "!readLines('''/path/to/excludes.txt''').contains(n)"
filebot -script fn:amc --output "/volume1/Media" --action move --conflict auto "/volume1/Media/_new" --log-file _scripts/amcLog.txt --filter "!readLines('''/volume1/Media/_scripts/excludeSeries.txt''').contains(n)" --def excludeList=_scripts/amc_exclude.txt "ut_label=TV" >> /volume1/Media/_scripts/filebot_debug.txt 2>&1
Code: Select all
Locking /volume1/@appstore/filebot/data/admin/logs/_scripts/amcLog.txt
Run script [fn:amc] at [Tue Sep 20 15:57:27 EDT 2016]
Parameter: excludeList = _scripts/amc_exclude.txt
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = y
Parameter: skipExtract = y
Parameter: clean = y
Parameter: movieFormat = Video/Movies/{n} ({y})/{n}
Parameter: seriesFormat = Video/TV/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}
Parameter: ut_label = TV
Argument: /volume1/Media/_new
Using excludes: /volume1/Media/_scripts/amc_exclude.txt (0)
Input: /volume1/Media/_new/Gotham.S03E01.720p.HDTV.X264-DIMENSION[rarbg]/Gotham.S03E01.720p.HDTV.X264-DIMENSION.mkv
Exclude: /volume1/Media/_new/Gotham.S03E01.720p.HDTV.X264-DIMENSION[rarbg]/RARBG.com.txt
Exclude: /volume1/Media/_new/Gotham.S03E01.720p.HDTV.X264-DIMENSION[rarbg]/gotham.301.720p-dimension.nfo
Group: [tvs:gotham] => [Gotham.S03E01.720p.HDTV.X264-DIMENSION.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Gotham]
Multiple options: Force auto-select requires non-strict matching: [Gotham, Gotham Girls, Gotham Comedy Live, Live at Gotham, The New Batman Adventures]
Clean clutter files and empty folders
Finished without processing any files
Failure (°_°)
Code: Select all
Gotham Girls
Gotham Comedy Live
Live at Gotham
The New Batman Adventures
Code: Select all
--filter "!readLines('''/path/to/excludes.txt''').contains(n) && (age < 7 || !model.any{ it.age < 7 })"
JC