From 090c9d2abdac07025fe6d7351e376e85aabc0891 Mon Sep 17 00:00:00 2001 From: mkaay Date: Sun, 27 Dec 2009 22:16:51 +0100 Subject: fixed uploaded.to and netload.in, gui clipboard check --- pyLoadCore.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index c062374bc..d0a6195d4 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -537,6 +537,14 @@ class ServerMethods(): def stop_downloads(self): self.core.thread_list.stopAllDownloads() + def stop_download(self, type, id): + if type == "pack": + ids = self.core.file_list.getPackageFiles(id) + for fid in ids: + self.core.file_list.packager.abortFile(fid) + else: + self.core.file_list.packager.abortFile(id) + def update_available(self): return self.core.update_available -- cgit v1.2.3