summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MegaDebridEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/MegaDebridEu.py')
-rw-r--r--module/plugins/hooks/MegaDebridEu.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/module/plugins/hooks/MegaDebridEu.py b/module/plugins/hooks/MegaDebridEu.py
index 5fb7e1ea6..f67fa7ac0 100644
--- a/module/plugins/hooks/MegaDebridEu.py
+++ b/module/plugins/hooks/MegaDebridEu.py
@@ -7,11 +7,17 @@ from module.plugins.internal.MultiHook import MultiHook
class MegaDebridEu(MultiHook):
__name__ = "MegaDebridEu"
__type__ = "hook"
- __version__ = "0.04"
+ __version__ = "0.05"
- __config__ = [("revertfailed", "bool", "Revert to standard download if download fails", False)]
+ __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__ = """mega-debrid.eu hook plugin"""
+ __description__ = """Mega-debrid.eu hook plugin"""
__license__ = "GPLv3"
__authors__ = [("D.Ducatel", "dducatel@je-geek.fr")]