
How did you come up with this?

How did you test this?

Why would you call
filebot multiple times in a row on the same input files?
-list has no effect if you're using the
amc script.
--q doesn't do what you seem to think it does. Your first
amc script call will simply process
all files as
Reboot (2022) because
--q forces the series and thus disables auto-detection, and then the other 8
filebot calls will do nothing because the input folder will be empty after the first call incorrectly processed all files.
--format is ignored by the
amc script in favour of
--def seriesFormat script parameter. Though
--format may be used a default if
--def seriesFormat is left unspecified, though this is undocumented and should not be relied upon.
Anyway...

Since you apparently have many custom replacement patterns, you will probably prefer to maintain them in a simple external CSV file, so that you can modify that in a central location without ever touching your code:
rednoah wrote: ↑15 Jul 2012, 09:03
5. Use a custom lookup table read from an external TSV or CSV file:
Code: Select all
{
def table = csv('/path/to/names.csv')
table[n] ?: n
}
e.g. /path/to/names.csv
Code: Select all
Deep Space 9;DS9
How I Met Your Mother;HIMYM
1. Prototype custom format in the Format Editor:
Code: Select all
{ csv('N:/names.csv')[n] ?: n }/{ s00e00 } - { t }
2. Integrate custom format into your
amc script call:
Code: Select all
filebot -script fn:amc --output "E:\TV" --action move -non-strict "n:\done" --def "seriesFormat={ csv('N:/names.csv')[n] ?: n }/{ s00e00 } - { t }" --def minFileSize=0 --def ut_label=TV

The example above assumes that your CSV mapping file is located at
N:/names.csv as specified in the code.