How to to pass --def name=value script parameters on the command-line?
Posted: 07 May 2021, 03:18
I've had seriesFormat in the script for some time and thought I would attempt to add movieFormat to my amc script in utorrent but it didn't work so I took it out.
Now it doesn't work any more.
Running..
Produces this error;
Please, what is wrong with the amc script?
For reference I added the following after seriesFormat and before excludelist.
That broke the script, and when I removed it, it stayed broken. I'm not really fussed about making the movieFormat work... But I would like to restore the original script to working order.
Now it doesn't work any more.
Running..
Code: Select all
filebot -script fn:amc --action hardlink --output "G:/Media" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y reporterror=y storereport=y seriesFormat="T:/{n}/{s}/{n} - {s00e00} - {t}" excludelist=amc.txt --filter "age < 10" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Code: Select all
File does not exist: ut_label=
File does not exist: ut_state=5
File does not exist: ut_title=American.Addict.2012.1080p.WEBRip.x265-RARBG
File does not exist: ut_kind=multi
File does not exist: ut_file=American.Addict.2012.1080p.WEBRip.x265-RARBG.mp4
File does not exist: ut_dir=E:\Seeding\American.Addict.2012.1080p.WEBRip.x265-RARBG
Run script [fn:amc] at [Thu May 06 23:49:48 AEST 2021]
Parameter: unsorted = y
Parameter: reporterror = y
Parameter: storereport = y
Parameter: seriesFormat = T:/{n}/{s}/{n} - {s00e00} - {t}
Parameter: excludelist = amc.txt
Invalid usage: no input
Abort (×_×)
For reference I added the following after seriesFormat and before excludelist.
Code: Select all
movieFormat="{n.colon(' - ')} ({y}) - {vf} {tags}"