summaryrefslogtreecommitdiffstats
path: root/module/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-02 23:01:34 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-02 23:01:34 +0200
commitcadd746ea1d7617b93c5e589b4a657db7b122409 (patch)
treefdf33aadcab0260bb3638c6f631dd60bc7fe1622 /module/remote
parentNCryptIn: Fixed support for web links (diff)
downloadpyload-cadd746ea1d7617b93c5e589b4a657db7b122409.tar.xz
new file states (temp. offline, skipped)
Diffstat (limited to 'module/remote')
-rw-r--r--module/remote/thriftbackend/pyload.thrift4
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/ttypes.py12
2 files changed, 8 insertions, 8 deletions
diff --git a/module/remote/thriftbackend/pyload.thrift b/module/remote/thriftbackend/pyload.thrift
index a40cae7a5..8c17c7451 100644
--- a/module/remote/thriftbackend/pyload.thrift
+++ b/module/remote/thriftbackend/pyload.thrift
@@ -13,9 +13,9 @@ enum DownloadStatus {
Offline,
Online,
Queued,
- Checking,
+ Skipped,
Waiting,
- Reconnected,
+ TempOffline,
Starting,
Failed,
Aborted,
diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
index 82ed5bb9a..c207c7bc4 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
@@ -19,9 +19,9 @@ class DownloadStatus:
Offline = 1
Online = 2
Queued = 3
- Checking = 4
+ Skipped = 4
Waiting = 5
- Reconnected = 6
+ TempOffline = 6
Starting = 7
Failed = 8
Aborted = 9
@@ -36,9 +36,9 @@ class DownloadStatus:
1: "Offline",
2: "Online",
3: "Queued",
- 4: "Checking",
+ 4: "Skipped",
5: "Waiting",
- 6: "Reconnected",
+ 6: "TempOffline",
7: "Starting",
8: "Failed",
9: "Aborted",
@@ -54,9 +54,9 @@ class DownloadStatus:
"Offline": 1,
"Online": 2,
"Queued": 3,
- "Checking": 4,
+ "Skipped": 4,
"Waiting": 5,
- "Reconnected": 6,
+ "TempOffline": 6,
"Starting": 7,
"Failed": 8,
"Aborted": 9,