From ceb59ee0739546368135b0d86a69b17c92bfbccf Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 20 Dec 2012 15:33:01 +0100 Subject: added models and collections for progress --- module/remote/ttypes_debug.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'module/remote/ttypes_debug.py') diff --git a/module/remote/ttypes_debug.py b/module/remote/ttypes_debug.py index 1b7065d9a..6ca9e892a 100644 --- a/module/remote/ttypes_debug.py +++ b/module/remote/ttypes_debug.py @@ -24,7 +24,7 @@ classes = { 'PackageInfo' : [int, basestring, basestring, int, int, basestring, basestring, basestring, int, (list, basestring), int, int, PackageStats, (list, int), (list, int)], 'PackageStats' : [int, int, int, int], 'ProgressInfo' : [basestring, basestring, basestring, int, basestring, int, int, (None, DownloadProgress)], - 'ServerStatus' : [bool, int, int, int, int, bool, bool], + 'ServerStatus' : [int, int, int, bool, bool, bool], 'ServiceDoesNotExists' : [basestring, basestring], 'ServiceException' : [basestring], 'TreeCollection' : [PackageInfo, (dict, int, FileInfo), (dict, int, PackageInfo)], @@ -79,15 +79,13 @@ methods = { 'getPackageContent': TreeCollection, 'getPackageInfo': PackageInfo, 'getProgressInfo': (list, ProgressInfo), + 'getServerStatus': ServerStatus, 'getServerVersion': basestring, 'getUserData': UserData, 'getUserPlugins': (list, ConfigInfo), 'getWSAddress': basestring, 'hasAddonHandler': bool, 'isInteractionWaiting': bool, - 'isTimeDownload': bool, - 'isTimeReconnect': bool, - 'kill': None, 'login': bool, 'moveFiles': bool, 'movePackage': bool, @@ -111,7 +109,7 @@ methods = { 'setPackageFolder': bool, 'setPackagePaused': None, 'setPassword': bool, - 'statusServer': ServerStatus, + 'stop': None, 'stopAllDownloads': None, 'stopDownloads': None, 'togglePause': bool, -- cgit v1.2.3