diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-10 21:45:09 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-10 21:45:09 +0200 |
commit | d0c21a999ba8ddf0c1956415a27f215baa2f727d (patch) | |
tree | 07feeb37a12e95b45b91f5e1faaea19d1b5da613 /module/HookManager.py | |
parent | show queue in webif (diff) | |
download | pyload-d0c21a999ba8ddf0c1956415a27f215baa2f727d.tar.xz |
more documentation, some fixes
Diffstat (limited to 'module/HookManager.py')
-rw-r--r-- | module/HookManager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/HookManager.py b/module/HookManager.py index 393db2de6..94faaba6e 100644 --- a/module/HookManager.py +++ b/module/HookManager.py @@ -34,18 +34,18 @@ class HookManager: but some very usefull events are called by the Core. Contrary to overwriting hook methods you can use event listener, which provides additional entry point in the control flow. - Only use very short tasks or use threads. + Only do very short tasks or use threads. *Known Events:* All hook methods exists as events. downloadPreparing: A download was just queued and will be prepared now. - Argument: fid + Argument: fid downloadStarts: A file will immediately starts the download afterwards. - Argument: fid + Argument: fid linksAdded: Someone just added links, you are able to modify the links. - Arguments: links, pid + Arguments: links, pid allDownloadsProcessed: Every link was handled, pyload would idle afterwards. |