summaryrefslogtreecommitdiffstats
path: root/pyload/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-01 21:06:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-01 21:06:17 +0100
commitfdb98aba01a9cbf415526d796a24d372fd00419a (patch)
treeda9c9c3138d727bc282ca2db618dc4b56ec62f30 /pyload/remote
parentfixed are few addons and improved crypter workarounds (diff)
downloadpyload-fdb98aba01a9cbf415526d796a24d372fd00419a.tar.xz
fixed cnl, packages now pausable
Diffstat (limited to 'pyload/remote')
-rw-r--r--pyload/remote/apitypes.py2
-rw-r--r--pyload/remote/apitypes_debug.py2
-rw-r--r--pyload/remote/pyload.thrift2
3 files changed, 3 insertions, 3 deletions
diff --git a/pyload/remote/apitypes.py b/pyload/remote/apitypes.py
index decfbb8b3..07e04d5de 100644
--- a/pyload/remote/apitypes.py
+++ b/pyload/remote/apitypes.py
@@ -507,7 +507,7 @@ class Iface(object):
pass
def setInteractionResult(self, iid, result):
pass
- def setPackageFolder(self, pid, path):
+ def setPackagePaused(self, pid, paused):
pass
def setPassword(self, username, old_password, new_password):
pass
diff --git a/pyload/remote/apitypes_debug.py b/pyload/remote/apitypes_debug.py
index 7c19235c2..382c3e178 100644
--- a/pyload/remote/apitypes_debug.py
+++ b/pyload/remote/apitypes_debug.py
@@ -115,7 +115,7 @@ methods = {
'searchSuggestions': (list, basestring),
'setConfigValue': None,
'setInteractionResult': None,
- 'setPackageFolder': bool,
+ 'setPackagePaused': int,
'setPassword': bool,
'stopAllDownloads': None,
'stopDownloads': None,
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift
index da00bc680..6773b7eac 100644
--- a/pyload/remote/pyload.thrift
+++ b/pyload/remote/pyload.thrift
@@ -455,7 +455,7 @@ service Pyload {
// moving package while downloading is not possible, so they will return bool to indicate success
void updatePackage(1: PackageInfo pack) throws (1: PackageDoesNotExist e),
- bool setPackageFolder(1: PackageID pid, 2: string path) throws (1: PackageDoesNotExist e),
+ PackageStatus setPackagePaused(1: PackageID pid, 2: bool paused) throws (1: PackageDoesNotExist e),
// as above, this will move files on disk
bool movePackage(1: PackageID pid, 2: PackageID root) throws (1: PackageDoesNotExist e),