Page 1 of 1

Parameters not being set when running external program on torrent completion

Posted: Tue Jan 24, 2017 2:23 am
by keith
Hi folks!  This might be a bug.  I'm using qBittorrent v3.3.1 with Ubuntu 16.04. 

I have this set:

Run an external program when a torrent completes

Code: Select all

/home/keith/bin/bt-done "%f" "%n"
(I have tried it with and without quotes with the same result.)

/home/keith/bin/bt-done

Code: Select all

#!/bin/bash
echo "$1 $2" > ~/bt/completed
And after a torrent completes, I get this:

~/bt/completed

Code: Select all

%f %n


So the script is running, and taking arguments, but qbt doesn't seem to be filling in the parameters correctly. 

Is it a bug, or am I doing something wrong?