summaryrefslogtreecommitdiffstats
path: root/module/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-05 23:21:44 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-05 23:21:44 +0100
commit9b12691ad66269ca8b67e80516548e8ae10bd7b2 (patch)
tree6df55bd94d02b216cb2ec51899f0d0e78899d3e2 /module/remote
parentfixed position of autocompletion, updated libraries (diff)
downloadpyload-9b12691ad66269ca8b67e80516548e8ae10bd7b2.tar.xz
working search suggestions
Diffstat (limited to 'module/remote')
-rw-r--r--module/remote/apitypes.py4
-rw-r--r--module/remote/apitypes_debug.py2
-rw-r--r--module/remote/pyload.thrift2
3 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/apitypes.py b/module/remote/apitypes.py
index 1f91403d5..bc53f5f7c 100644
--- a/module/remote/apitypes.py
+++ b/module/remote/apitypes.py
@@ -417,8 +417,6 @@ class Iface(object):
pass
def getAllUserData(self):
pass
- def getAutocompletion(self, pattern):
- pass
def getAvailablePlugins(self):
pass
def getCollector(self):
@@ -501,6 +499,8 @@ class Iface(object):
pass
def saveConfig(self, config):
pass
+ def searchSuggestions(self, pattern):
+ pass
def setConfigHandler(self, plugin, iid, value):
pass
def setConfigValue(self, section, option, value):
diff --git a/module/remote/apitypes_debug.py b/module/remote/apitypes_debug.py
index 3c4f67a49..974a68c29 100644
--- a/module/remote/apitypes_debug.py
+++ b/module/remote/apitypes_debug.py
@@ -77,7 +77,6 @@ methods = {
'getAddonHandler': (dict, basestring, list),
'getAllFiles': TreeCollection,
'getAllUserData': (dict, int, UserData),
- 'getAutocompletion': (list, basestring),
'getAvailablePlugins': (list, ConfigInfo),
'getCollector': (list, LinkStatus),
'getConfig': (dict, basestring, ConfigHolder),
@@ -119,6 +118,7 @@ methods = {
'restartFile': None,
'restartPackage': None,
'saveConfig': None,
+ 'searchSuggestions': (list, basestring),
'setConfigHandler': None,
'setConfigValue': None,
'setInteractionResult': None,
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift
index 7eadd54e6..c66ec20d6 100644
--- a/module/remote/pyload.thrift
+++ b/module/remote/pyload.thrift
@@ -450,8 +450,8 @@ service Pyload {
FileInfo getFileInfo(1: FileID fid) throws (1: FileDoesNotExists e),
TreeCollection findFiles(1: string pattern),
- list<string> getAutocompletion(1: string pattern),
TreeCollection findPackages(1: list<string> tags),
+ list<string> searchSuggestions(1: string pattern),
// Modify Files/Packages