Ok. I commited a big patch to svn :) Thanks for the idea. qBittorrent search engine plugin system is much more flexible that way.
You should add a "download_torrent(self, id)" method to your engine plugin class which downloads the torrent and prints "file_path torrent_url" (separated by a space).
Please have a look at download_file() from helpers.py and download_torrent() from my plugins for more information.
Ok. I commited a big patch to svn :) Thanks for the idea. qBittorrent search engine plugin system is much more flexible that way.
You should add a "download_ torrent( self, id)" method to your engine plugin class which downloads the torrent and prints "file_path torrent_url" (separated by a space).
Please have a look at download_file() from helpers.py and download_torrent() from my plugins for more information.