summaryrefslogtreecommitdiffstats
path: root/module/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-05 19:01:15 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-05 19:01:15 +0200
commit2c684d72fd8234940a921d4f2a5db28dbadaafa1 (patch)
treefd35e0806b588b1d4489b5e102c99a50f85bb8c8 /module/remote/pyload.thrift
parentfixed some things, so downloads works again (diff)
downloadpyload-2c684d72fd8234940a921d4f2a5db28dbadaafa1.tar.xz
updated lodash, tried to style package list
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r--module/remote/pyload.thrift21
1 files changed, 16 insertions, 5 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift
index 8257107b4..3b0f74cbc 100644
--- a/module/remote/pyload.thrift
+++ b/module/remote/pyload.thrift
@@ -32,6 +32,16 @@ enum DownloadStatus {
Unknown
}
+// Download states, combination of several downloadstatuses
+// defined in Filedatabase
+enum DownloadStates {
+ All,
+ Finished,
+ Unfinished,
+ Failed,
+ Unmanaged // internal state
+}
+
enum MediaType {
All = 0
Other = 1,
@@ -166,11 +176,12 @@ struct PackageInfo {
7: string comment,
8: string password,
9: UTCDate added,
- 10: PackageStatus status,
- 11: i16 packageorder,
- 12: PackageStats stats,
- 13: list<FileID> fids,
- 14: list<PackageID> pids,
+ 10: list<string> tags,
+ 11: PackageStatus status,
+ 12: i16 packageorder,
+ 13: PackageStats stats,
+ 14: list<FileID> fids,
+ 15: list<PackageID> pids,
}
// thrift does not allow recursive datatypes, so all data is accumulated and mapped with id