Page 1 of 1

What is ut_kind=multi?

Posted: 05 Nov 2018, 18:33
by Arsia
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.

Re: What is ut_kind=multi?

Posted: 05 Nov 2018, 18:39
by rednoah
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"