qBittorrent official forums

qBittorrent => Linux => Topic started by: Leverz on August 10, 2019, 04:17:34 am

Title: Run external program on torrent completion
Post by: Leverz on August 10, 2019, 04:17:34 am
Hi, I have been trying to get any script to run in this option.
I have tried both python and bash, yet I cannot get the script to run. I have set the scripts to be executable (chmod 755) and I have reduced the scripts to only copy the contents of the download directory, just to ensure it works.

Any script will run from terminal but not from the QBitTorrent option. Am I missing a simple call?

Examples I  tried
Code: [Select]
/.../test.py
Code: [Select]
python /.../test.py
Code: [Select]
python '/.../test.py'
I have tried everything I can think of from adding quotes to the call, adding the python call at the start before setting location of the script (in bash as well), I could keep going I have gone through it all.

I have even tried it on a windows machine calling batch files, and I can't get it to work there, so any help would be great. I could not find any documentation that talked about this, and a I could not find a thread here with a response/how-to on this.
Thanks in advance.
Title: Re: Run external program on torrent completion
Post by: Leverz on August 12, 2019, 09:03:49 am
Is it not possible, or does nobody know how to do it?

Tried on reddit and a few other places, and no one seems to know, it shows the lack of documentation. Anyone know of another client that enables to running of scripts after a download completes?