Parameters not being set when running external program on torrent completion
Posted: Tue Jan 24, 2017 2:23 am
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
(I have tried it with and without quotes with the same result.)
/home/keith/bin/bt-done
And after a torrent completes, I get this:
~/bt/completed
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?
I have this set:
Run an external program when a torrent completes
Code: Select all
/home/keith/bin/bt-done "%f" "%n"
/home/keith/bin/bt-done
Code: Select all
#!/bin/bash
echo "$1 $2" > ~/bt/completed
~/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?