diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-13 19:31:10 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-13 19:31:10 +0200 |
commit | e7ea8a420d01c927c17cf2db692cb0355aa87b95 (patch) | |
tree | fffd2c397b2fc300ca8086785d0898442e325531 /pyLoadCore.py | |
parent | couldn't connect to host fix (diff) | |
download | pyload-e7ea8a420d01c927c17cf2db692cb0355aa87b95.tar.xz |
new package ui for webif
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index a5c59fec1..def3d4df5 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -627,6 +627,12 @@ class ServerMethods(): def get_collector(self): return self.core.files.getCompleteData(0) + def get_queue_info(self): + return self.core.files.getInfoData(1) + + def get_collector_info(self): + return self.core.files.getInfoData(0) + def add_files_to_package(self, pid, urls): #@TODO implement pass @@ -735,6 +741,9 @@ class ServerMethods(): p = self.core.files.getPackage(id) p.setPriority(priority) + def order_package(self, id, pos): + self.core.files.reorderPackage(id, pos) + def is_time_download(self): start = self.core.config['downloadTime']['start'].split(":") end = self.core.config['downloadTime']['end'].split(":") |