Added another @action decorator

This commit is contained in:
Fabio Manganiello 2018-07-06 02:41:19 +02:00
parent c0b1b70e4e
commit b8665b7fbb

View file

@ -474,6 +474,7 @@ class VideoOmxplayerPlugin(Plugin):
return proc.stdout.read().decode("utf-8", "strict")[:-1] return proc.stdout.read().decode("utf-8", "strict")[:-1]
@action
def torrent_search(self, query): def torrent_search(self, query):
self.logger.info('Searching matching movie torrents for "{}"'.format(query)) self.logger.info('Searching matching movie torrents for "{}"'.format(query))
request = urllib.request.urlopen(urllib.request.Request( request = urllib.request.urlopen(urllib.request.Request(