Page 1 of 1

AMC: Trying to sort certain shows into a different folder

Posted: 03 Aug 2016, 15:56
by flp29068
I've only been using filebot and amc for a couple of weeks, but so far it's been great! I only have one issue: there are certain TV shows that I want to sort into a different output folder (Kids shows, mainly)

I'm using this in the CLI:
filebot -script fn:amc --output "path/to/Media" --action duplicate --conflict skip -non-strict --log-file amc.log --def "seriesFormat=/TV Shows/{n}/{n} - {s00e00} - {t}" excludeList=amc.excludes unsorted=y music=n artwork=n ut_dir="%F" ut_kind=multi ut_title="%N" ut_label="%L"

I'd like to change --output "path/to/Media" to --output "path/to/KidsMedia" for certain TV shows only. Is there a way to do that?

Thanks!

Re: AMC: Trying to sort certain shows into a different folder

Posted: 03 Aug 2016, 16:18
by rednoah
--output is fixed and must be an existing folder. The --format is completely scriptable though so you can do whatever you want.

e.g.
viewtopic.php?t=1406&p=8422

I'd do it like this:

Code: Select all

{genres =~ /Kids|Family/ ? '../Kids Media' : '.'}/TV Shows/{n}/{plex.name}