summaryrefslogtreecommitdiffstats
path: root/module/remote/apitypes.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-12 12:49:42 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-12 12:49:42 +0100
commit6232db5a1d3b8b5e4412af67d5bc7ca65f94333c (patch)
tree02a95e1216ace355d84a9704fb9070bd744b17c2 /module/remote/apitypes.py
parentadded missing file (diff)
downloadpyload-6232db5a1d3b8b5e4412af67d5bc7ca65f94333c.tar.xz
renamed most events, push events to webui
Diffstat (limited to 'module/remote/apitypes.py')
-rw-r--r--module/remote/apitypes.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/remote/apitypes.py b/module/remote/apitypes.py
index aaec2b3ce..83368c6de 100644
--- a/module/remote/apitypes.py
+++ b/module/remote/apitypes.py
@@ -297,11 +297,14 @@ class ProgressInfo(BaseObject):
self.download = download
class ServerStatus(BaseObject):
- __slots__ = ['speed', 'files', 'notifications', 'paused', 'download', 'reconnect']
+ __slots__ = ['speed', 'linkstotal', 'linksqueue', 'sizetotal', 'sizequeue', 'notifications', 'paused', 'download', 'reconnect']
- def __init__(self, speed=None, files=None, notifications=None, paused=None, download=None, reconnect=None):
+ def __init__(self, speed=None, linkstotal=None, linksqueue=None, sizetotal=None, sizequeue=None, notifications=None, paused=None, download=None, reconnect=None):
self.speed = speed
- self.files = files
+ self.linkstotal = linkstotal
+ self.linksqueue = linksqueue
+ self.sizetotal = sizetotal
+ self.sizequeue = sizequeue
self.notifications = notifications
self.paused = paused
self.download = download
@@ -427,8 +430,6 @@ class Iface(object):
pass
def getCoreConfig(self):
pass
- def getEvents(self, uuid):
- pass
def getFileInfo(self, fid):
pass
def getFileTree(self, pid, full):