Page 1 of 1

AMC - how to add labels to media type file path

Posted: 07 Feb 2016, 06:23
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

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

Posted: 07 Feb 2016, 06:37
by rednoah
You'll need to pass in your own format. That format will likely contain bindings such as {label}.

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

Posted: 07 Feb 2016, 21:56
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

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

Posted: 08 Feb 2016, 23:01
by ronniehd
Yes that's correct.
Check my posts/threads for more info.