From 9a4f077714993bacb4418e7c5b4cb85f5d1601d1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 21 Jun 2009 18:16:06 +0200 Subject: plugin system changings --- module/Py_Load_File.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'module/Py_Load_File.py') diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py index 2bc6d4965..570e605cd 100644 --- a/module/Py_Load_File.py +++ b/module/Py_Load_File.py @@ -28,16 +28,10 @@ class PyLoadFile: return "Plugin" - def prepareDownload(self): + def init_download(self): if self.parent.config['useproxy']: self.plugin.req.add_proxy(self.parent.config['proxyprotocol'], self.parent.config['proxyadress']) - self.plugin.want_reconnect = False + #@todo: check dependicies, ocr etc - self.status.exists = self.plugin.file_exists() - if self.status.exists: - self.status.filename = self.plugin.get_file_name() - self.status.waituntil = self.plugin.time_plus_wait - self.status.url = self.plugin.get_file_url() - self.status.want_reconnect = self.plugin.want_reconnect -- cgit v1.2.3