summaryrefslogtreecommitdiffstats
path: root/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 14:19:31 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 14:19:31 +0200
commit0036345203f37f7f29cc60cbf19b4f355ee8e0ce (patch)
tree74093dc90b9e520bcc43e3409f417668be43c9c9 /Py_Load_File.py
parentfunzt im moment nicht, aber ich arbeite daran (diff)
downloadpyload-0036345203f37f7f29cc60cbf19b4f355ee8e0ce.tar.xz
UploadedTo funktioniert jetzt auch. Wartezeit wird auch berücksichigt.
TODO: Reconnect verwalten, Download Verwaltung -> von einem Plugin nur eine Datei gleichzeitig, Zeit zum Downloaden etc..
Diffstat (limited to 'Py_Load_File.py')
-rw-r--r--Py_Load_File.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Py_Load_File.py b/Py_Load_File.py
index 1d20e05e0..dc1c2ba75 100644
--- a/Py_Load_File.py
+++ b/Py_Load_File.py
@@ -9,7 +9,6 @@ class PyLoadFile:
pluginClass = getattr(plugin, plugin.__name__)
self.plugin = pluginClass(self)
self.url = url
- self.dl = None
self.filename = "filename"
self.download_folder = ""
self.status = Status(self.id)
@@ -20,7 +19,9 @@ class PyLoadFile:
def prepareDownload(self):
- self.status.exist = True #self.plugin.file_exists()
+ self.status.exists = True #self.plugin.file_exists()
self.status.filename = self.plugin.get_file_name()
self.status.waituntil = self.plugin.time_plus_wait
- self.status.dl = self.plugin.get_file_url()
+ self.status.url = self.plugin.get_file_url()
+ self.status.want_reconnect = self.plugin.want_reconnect
+