What is ut_kind=multi?

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
Arsia
Posts: 18
Joined: 05 Oct 2018, 02:08

What is ut_kind=multi?

Post by Arsia » 05 Nov 2018, 18:33

I can't find anything in the documentation that explains ut_kind. It looks like it's used for AMC.
Right now my script is set to

Code: Select all

ut_kind=multi "ut_dir=$TORRENT_PATH" "ut_title=$TORRENT_NAME"
What i'd like is to set seriesFormat to go to a different directory but want to make sure I'm not messing it up with ut_kind in place.

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

Re: What is ut_kind=multi?

Post by rednoah » 05 Nov 2018, 18:39

ut_kind (being either multi or single) is used to correctly interpret the ut_dir and ut_file values passed in by utorrent. Most other tools behave more sane, so ut_kind can be set constant to multi, which means ut_dir can be a folder or file path, and ut_file is ignored.

You can add --def seriesFormat="..." anywhere. You just need to make sure to not break the --def name=value sequence (you can, but then you have to add --def again).

e.g.

Code: Select all

--def seriesFormat="<your format>" <some other filebot options> --def ut_kind=multi "ut_dir=$TORRENT_PATH" "ut_title=$TORRENT_NAME"
:idea: Please read the FAQ and How to Request Help.

Post Reply