summaryrefslogtreecommitdiffstats
path: root/pyload/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:05:40 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-17 14:05:52 +0100
commitc1e580ec06b9065bc63ebf987d5306c03da237e0 (patch)
tree079f72ccc9d3f54ba14c7bf19e57ec67b813f6c3 /pyload/remote
parentMerge pull request #365 from vuolter/m/timestamp (diff)
downloadpyload-c1e580ec06b9065bc63ebf987d5306c03da237e0.tar.xz
refactored pluginManager
Diffstat (limited to 'pyload/remote')
-rw-r--r--pyload/remote/apitypes.py9
-rw-r--r--pyload/remote/pyload.thrift4
2 files changed, 7 insertions, 6 deletions
diff --git a/pyload/remote/apitypes.py b/pyload/remote/apitypes.py
index 53d2de6d2..287a5f096 100644
--- a/pyload/remote/apitypes.py
+++ b/pyload/remote/apitypes.py
@@ -33,10 +33,11 @@ class DownloadStatus:
Downloading = 10
TempOffline = 11
Aborted = 12
- Decrypting = 13
- Processing = 14
- Custom = 15
- Unknown = 16
+ NotPossible = 13
+ Decrypting = 14
+ Processing = 15
+ Custom = 16
+ Unknown = 17
class FileStatus:
Ok = 0
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift
index 3d0f201e7..9bcc2ce89 100644
--- a/pyload/remote/pyload.thrift
+++ b/pyload/remote/pyload.thrift
@@ -11,9 +11,8 @@ typedef list<string> LinkList
typedef string PluginName
typedef string JSONString
-// NA - Not Available
enum DownloadStatus {
- NA,
+ NA, // No downloads status set
Offline,
Online,
Queued,
@@ -26,6 +25,7 @@ enum DownloadStatus {
Downloading,
TempOffline,
Aborted,
+ NotPossible,
Decrypting,
Processing,
Custom,