From 484d282a26bc732135e89761071e402ad92210ba Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 28 Oct 2018 23:48:26 +0100 Subject: [PATCH] Updated wiki --- docs/wiki | 2 +- platypush/plugins/torrent.py | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/wiki b/docs/wiki index 7083631e..3089fe36 160000 --- a/docs/wiki +++ b/docs/wiki @@ -1 +1 @@ -Subproject commit 7083631ea5794f30bfb86ae26c195af7b8b9c6b4 +Subproject commit 3089fe36e0988e25cc73d70205e586b79f409ecb diff --git a/platypush/plugins/torrent.py b/platypush/plugins/torrent.py index a0b6699a..0018237f 100644 --- a/platypush/plugins/torrent.py +++ b/platypush/plugins/torrent.py @@ -46,21 +46,12 @@ class TorrentPlugin(Plugin): self.download_dir = os.path.abspath(os.path.expanduser(download_dir)) @action - def search(self, query, types=None, queue_results=False, autoplay=False): + def search(self, query): """ Perform a search of video torrents. :param query: Query string, video name or partial name :type query: str - - :param types: Video types to search (default: ``["youtube", "file", "torrent"]``) - :type types: list - - :param queue_results: Append the results to the current playing queue (default: False) - :type queue_results: bool - - :param autoplay: Play the first result of the search (default: False) - :type autoplay: bool """ self.logger.info('Searching matching torrents for "{}"'.format(query))