summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-07 17:24:58 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-07 17:24:58 +0100
commit7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b (patch)
treee29b68a6b07374e4cd150552790c262d73aaf2d3 /module/remote/thriftbackend/pyload.thrift
parentfixed captcha status response (diff)
downloadpyload-7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b.tar.xz
Youtube fix, thrift java fix
Diffstat (limited to 'module/remote/thriftbackend/pyload.thrift')
-rw-r--r--module/remote/thriftbackend/pyload.thrift5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/pyload.thrift b/module/remote/thriftbackend/pyload.thrift
index 7ea1d5f94..122ab783f 100644
--- a/module/remote/thriftbackend/pyload.thrift
+++ b/module/remote/thriftbackend/pyload.thrift
@@ -1,3 +1,5 @@
+namespace java org.pyload.thrift
+
typedef i32 FileID
typedef i32 PackageID
typedef i32 TaskID
@@ -5,6 +7,7 @@ typedef list<string> LinkList
typedef byte Progress
typedef byte Priority
+
enum DownloadStatus {
Finished
Offline,
@@ -82,7 +85,7 @@ struct FileData {
6: string format_size,
7: DownloadStatus status,
8: string statusmsg,
- 9: PackageID package,
+ 9: PackageID packageID,
10: string error,
11: i16 order,
12: Progress progress