summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-13 19:31:10 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-13 19:31:10 +0200
commite7ea8a420d01c927c17cf2db692cb0355aa87b95 (patch)
treefffd2c397b2fc300ca8086785d0898442e325531 /pyLoadCore.py
parentcouldn't connect to host fix (diff)
downloadpyload-e7ea8a420d01c927c17cf2db692cb0355aa87b95.tar.xz
new package ui for webif
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py9
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(":")