summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MyfastfileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-08 23:40:17 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-08 23:40:17 +0100
commite977be3c78ea9d976e9b2338244b214a4b3a5199 (patch)
tree77f1f8990ba33bfa0592fd1b1b223a91235519aa /module/plugins/hooks/MyfastfileCom.py
parent"New Year" Update: crypter plugins (diff)
downloadpyload-e977be3c78ea9d976e9b2338244b214a4b3a5199.tar.xz
"New Year" Update: hook plugins
Diffstat (limited to 'module/plugins/hooks/MyfastfileCom.py')
-rw-r--r--module/plugins/hooks/MyfastfileCom.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/module/plugins/hooks/MyfastfileCom.py b/module/plugins/hooks/MyfastfileCom.py
index 2fda0d3bf..86408cb6d 100644
--- a/module/plugins/hooks/MyfastfileCom.py
+++ b/module/plugins/hooks/MyfastfileCom.py
@@ -7,12 +7,15 @@ from module.plugins.internal.MultiHook import MultiHook
class MyfastfileCom(MultiHook):
__name__ = "MyfastfileCom"
__type__ = "hook"
- __version__ = "0.04"
-
- __config__ = [("mode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
- ("pluginlist", "str", "Hoster list (comma separated)", ""),
- ("revertfailed", "bool", "Revert to standard download if download fails", False),
- ("interval", "int", "Reload interval in hours (0 to disable)", 24)]
+ __version__ = "0.05"
+
+ __config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
+ ("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
+ ("revertfailed" , "bool" , "Revert to standard download if fails", True ),
+ ("retry" , "int" , "Number of retries before revert" , 10 ),
+ ("retryinterval" , "int" , "Retry interval in minutes" , 1 ),
+ ("reload" , "bool" , "Reload plugin list" , True ),
+ ("reloadinterval", "int" , "Reload interval in hours" , 12 )]
__description__ = """Myfastfile.com hook plugin"""
__license__ = "GPLv3"