forked from platypush/platypush
Added another @action decorator
This commit is contained in:
parent
c0b1b70e4e
commit
b8665b7fbb
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue