Page 1 of 1

Running automatically after qBittorrent download

Posted: 23 Jan 2015, 09:52
by rakwim
Running Ubuntu

Hi guys, I understand there is a plugin for Filebot that is designed to work with torrent clients, however it is too much for what I am trying to achieve

At the moment, this is how I currently have my Filebot setup

filebot -rename --action hardlink --output /home/QB/Renamer -non-strict *

I run this while CD'ed into my downloads directory (/home/QB/Complete).

I've tried to have qBittorrent do this after a download is complete, of course replacing the * with %n or %f, but I cannot get it to work automatically

Any ideas?
Thanks

Edit:
Also, when I do filebot -rename --action hardlink --output /home/QB/Renamer -non-strict * (while CD'ed into /home/QB/Complete) it shows 102 files processed, whereas when I do filebot -rename --action hardlink --output /home/QB/Renamer -non-strict /home/QB/Complete it only says 86 processed. I'm guessing this is because some downloads are put into their own folder whereas others are not.

I also made a shell script, which is:
cd /home/QB/Complete
filebot -rename --action hardlink --output /home/QB/Renamer -non-strict --conflict skip *

Which works run when I run it in Terminal, but I tried having qBittorrent do this but it did nothing.

Thanks!

Re: Running automatically after qBittorrent download

Posted: 23 Jan 2015, 10:24
by rakwim
Just tried this:
filebot -rename --action hardlink --output /home/QB/Renamer -non-strict “%f"

in the run external program but unfortunately no luck