summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PutdriveComHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/PutdriveComHook.py')
-rw-r--r--module/plugins/hooks/PutdriveComHook.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/module/plugins/hooks/PutdriveComHook.py b/module/plugins/hooks/PutdriveComHook.py
new file mode 100644
index 000000000..c3ebf4ff3
--- /dev/null
+++ b/module/plugins/hooks/PutdriveComHook.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.hooks.ZeveraComHook import ZeveraComHook
+
+
+class PutdriveComHook(ZeveraComHook):
+ __name__ = "PutdriveComHook"
+ __type__ = "hook"
+ __version__ = "0.01"
+
+ __config__ = [("mode" , "all;listed;unlisted", "Use for plugins (if supported)" , "all"),
+ ("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
+ ("revertfailed", "bool" , "Revert to standard download if download fails", False),
+ ("interval" , "int" , "Reload interval in hours (0 to disable)" , 12 )]
+
+ __description__ = """Putdrive.com hook plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]