AMC: Trying to sort certain shows into a different folder

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
flp29068
Posts: 1
Joined: 03 Aug 2016, 15:46

AMC: Trying to sort certain shows into a different folder

Post 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!
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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}
:idea: Please read the FAQ and How to Request Help.
Post Reply