Comment 10 for bug 348911

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

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.