[AMC] Force Detection Logic

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
GLotsapot
Posts: 1
Joined: 29 Jul 2014, 02:41

[AMC] Force Detection Logic

Post by GLotsapot »

One thing I didn't see in the AMC documentation or forums, but found by looking at the code was a way to help force the script to use specific detection logic. Very useful for forcing stuff to be ignored, or if TV shows are being renamed live movies (or vica-versa)

First of all your script that gets run has to have the following in the --def parameters: "ut_label=%L"
Example:

Code: Select all

filebot -script fn:amc --output "E:/Upload/FileBot" --action copy --def "ut_label=%L" "ut_file=%F" "ut_dir=%D"
Secondly you want to add a few Persistent Labels to make your life easier (in µTorrent)
  1. Options
  2. Preferences
  3. Advanced
  4. UI Extras
In the persistent Labels section, add the following (remove any you don't use)

Code: Select all

Movie|TV|Kids Shows|Anime|Audio|Music|Music Video|Games|Ebook|Other|Ignore
Movie will force Movie detection logic
TV & Kids Shows will force Series detection logic
Anime is pretty self explanatory
Audio, Music, & Music Video force Audio detection logic
and all the rest will just ignore detection all together

Finally, after you've added a torrent to µTorrent, rt-click on it, select the Labels option, and pick the best label that matches which detection type you'd like.
User avatar
rednoah
The Source
Posts: 23003
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [AMC] Force Detection Logic

Post by rednoah »

Another thing you can do is to add a --filter expression which allows you to filter out bad data that causes mismatches.
:idea: Please read the FAQ and How to Request Help.
Post Reply