AMC - how to add labels to media type file path

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
2moons
Donor
Posts: 5
Joined: 07 Feb 2016, 05:37

AMC - how to add labels to media type file path

Post by 2moons »

Hi all,

Looking for some help to sort my AMC outputs into subfolders (labels) within the AMC generated ones (TV Shows, Movies, etc) when running as an external program in qBittorrent.

System is
Ubuntu 15.10 64bit
qBittorrent 3.4.0alpha
filebot 4.6.1

Within qBittorrent for running an external program I currently use the below:
filebot -script fn:amc --output "/home/boxuser/Downloads/filebot outputs/" --action move --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes "ignore=Music|Collecting|Fixes|Manual" unsorted=n music=n artwork=n clean=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"

AMC will sort media files into folders called Movies or TV Shows.
What I would like to do is create subfolders within these folders based on Labels from qBittorrent.
If I have a Label in qBittorrent called "kids" I would like the FileBot output to be /TV Shows/kids/"fileBot outputfile name path based on TVDB"

Is this possible
I guess what I'm after is something like
filebot -script fn:amc --output "/home/boxuser/Downloads/filebot outputs/%Output_Type/%L/"

Any help would be much appreciated.

Thanks
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC - how to add labels to media type file path

Post by rednoah »

You'll need to pass in your own format. That format will likely contain bindings such as {label}.
:idea: Please read the FAQ and How to Request Help.
2moons
Donor
Posts: 5
Joined: 07 Feb 2016, 05:37

Re: AMC - how to add labels to media type file path

Post by 2moons »

Ok - thanks for that.

To be clear, you are suggesting I would need to add something along the lines of

Code: Select all

--def "seriesFormat={label}/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {s00e00} - {t}"
many thanks
ronniehd
Posts: 10
Joined: 29 Dec 2015, 17:01

Re: AMC - how to add labels to media type file path

Post by ronniehd »

Yes that's correct.
Check my posts/threads for more info.
Post Reply