From 58f38f399387b44b956e785e1d578d0f621354e6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 2 Aug 2011 15:17:24 +0200 Subject: fixes, cleanup, summary for each package --- module/remote/thriftbackend/pyload.thrift | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'module/remote/thriftbackend/pyload.thrift') diff --git a/module/remote/thriftbackend/pyload.thrift b/module/remote/thriftbackend/pyload.thrift index ebe1890e3..00f24f3fa 100644 --- a/module/remote/thriftbackend/pyload.thrift +++ b/module/remote/thriftbackend/pyload.thrift @@ -92,8 +92,7 @@ struct FileData { 8: string statusmsg, 9: PackageID packageID, 10: string error, - 11: i16 order, - 12: Progress progress + 11: i16 order } struct PackageData { @@ -104,9 +103,12 @@ struct PackageData { 5: string password, 6: Destination dest, 7: i16 order, - 8: Priority priority, - 9: optional list fids, - 10: optional list links + 8: optional i16 linksdone, + 9: optional i64 sizedone, + 10: optional i64 sizetotal, + 11: optional i16 linkstotal, + 12: optional list links, + 13: optional list fids } struct CaptchaTask { @@ -256,7 +258,7 @@ service Pyload { void stopDownloads(1: list fids), void setPackageName(1: PackageID pid, 2: string name), void movePackage(1: Destination destination, 2: PackageID pid), - void setPriority(1: PackageID pid, 2: Priority priority) + void moveFiles(1: list fids, 2: PackageID pid), void orderPackage(1: PackageID pid, 2: i16 position), void orderFile(1: FileID fid, 2: i16 position), void setPackageData(1: PackageID pid, 2: map data) throws (1: PackageDoesNotExists e), -- cgit v1.2.3