Updated wiki

This commit is contained in:
Fabio Manganiello 2018-10-28 23:48:26 +01:00
parent 0fbda526d0
commit 484d282a26
2 changed files with 2 additions and 11 deletions

@ -1 +1 @@
Subproject commit 7083631ea5794f30bfb86ae26c195af7b8b9c6b4
Subproject commit 3089fe36e0988e25cc73d70205e586b79f409ecb

View file

@ -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))