Page 1 of 1

Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 01 Mar 2018, 18:17
by Synk556
Using 4.0.4? I've installed python. It's in the $Path, I've followed the instructions from here: viewtopic.php?f=4&t=215#p9774
I correctly edited the python scripts to my settings. And here is the script in qbittorent (screenshot) https://gyazo.com/cfbc6c96022792f2223f7f85a3e87a36.

Nothing happens upon torrent completion. One thing I noticed in the python script, nowhere does it call filebot. So how is that supposed to work? What am I missing? Thanks in advance.

Re: Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 02 Mar 2018, 02:16
by rednoah
Have you tested without python (and not pythonw) directly from CMD so you can see the console output? What does the console output say?

:idea: You don't have to use the utorrent-postprocess.pyw python script. You can also have qBT call FileBot directly.

:idea: I'd start by running the amc script from CMD manually, so you understand how it works. Once you can run it yourself, then you will understand how to integrate it with qBT.

:idea: The utorrent-postprocess.pyw does nothing but set up the FileBot command and then run that FileBot command via subprocess.run in the very last line. ;)

Re: Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 03 Mar 2018, 01:36
by Synk556
Put this script in:
filebot -script fn:amc --output "d:\downloads" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y excludeList=amc.txt "%f"

Nothing. Starting to wonder if it's not qbT.

Re: Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 03 Mar 2018, 03:05
by rednoah
If you're using a recent version of qBT then your command template won't work.

Use this:

Code: Select all

filebot -script fn:amc --output "/path/to/media" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"
:arrow: /path/to/media must be replaced by a real file path that is not inside your Downloads folder (e.g. D:/Media).

:arrow: amc.log can be replaced with an absolute file path so you know exactly where the log is (e.g. --log-file D:/amc.log).

Re: Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 03 Mar 2018, 05:05
by ZeroByDivide
If you want to run the "utorrent-postprocess.pyw python script" you'll have to downgrade to 4.0.3 for the time being as the "run on torrent completion" is currently semi-broken in 4.0.4 should be fixed in 4.0.5 whenever it gets released.

Re: Has anyone gotten qBittorrent and Filebot to work properly?

Posted: 14 Jan 2022, 02:04
by rednoah