summaryrefslogtreecommitdiffstats
path: root/pyload/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-29 21:07:28 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-29 21:07:28 +0100
commit8318540e162cccbb049bebebc5aca03384a1e4e9 (patch)
tree5b4dc38520a82b5c8044a026ab996be1d71a782e /pyload/remote/pyload.thrift
parentadded auth to request class (diff)
downloadpyload-8318540e162cccbb049bebebc5aca03384a1e4e9.tar.xz
added progress type enum, new DebugCrypter + Hoster, little improvements for crypter api
Diffstat (limited to 'pyload/remote/pyload.thrift')
-rw-r--r--pyload/remote/pyload.thrift16
1 files changed, 14 insertions, 2 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift
index 9b8415d0f..a9431ea7c 100644
--- a/pyload/remote/pyload.thrift
+++ b/pyload/remote/pyload.thrift
@@ -116,6 +116,16 @@ enum Role {
User = 1
}
+enum ProgressType {
+ All = 0,
+ Other = 1,
+ Download = 2,
+ Decrypting = 4,
+ LinkCheck = 8,
+ Addon = 16,
+ FileOperation = 32,
+}
+
struct Input {
1: InputType type,
2: optional JSONString default_value,
@@ -135,8 +145,10 @@ struct ProgressInfo {
3: string statusmsg,
4: i32 eta, // in seconds
5: ByteCount done,
- 6: ByteCount total, // arbitary number, size in case of files
- 7: optional DownloadProgress download
+ 6: ByteCount total, // arbitary number, size in case of files,
+ 7: UserID owner,
+ 8: ProgressType type,
+ 9: optional DownloadProgress download //only given when progress type download
}
// download info for specific file