Page 1 of 1

Automatically exclude file by extension type

Posted: Sun Mar 08, 2020 5:09 pm
by linuxlad
Is there anyway to automatically exclude file based on their extensions?

Re: Automatically exclude file by extension type

Posted: Mon Mar 09, 2020 11:16 am
by Peter
No, I don't think so... that'd be a very specific use-case..
Maybe you can use the web API to develop a script that'd do this...

Re: Automatically exclude file by extension type

Posted: Mon Mar 09, 2020 4:58 pm
by linuxlad
Someone at github already created one, however, I was unable to get it to work.
Perhaps someone else will be more successful and provide us with their feedback.

https://gist.github.com/oltodosel/566e0 ... cc6980656f

I would have preferred that the filtering/file exclusion was processed during the addition of the torrent, however, I settled for immediate/instant deletion by QBT to 'Run external program on torrent completion' so I made an executable with three lines that included removal/deletion of two files that are always named the same and a third one to remove all by that particular extension since this third one would always have a different name attached to every torrent. Not a perfect solution but still better than the manual process and accumulation of junk files.