diff options
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(":") |