summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PutdriveCom.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/PutdriveCom.py
parent"New Year" Update: crypter plugins (diff)
downloadpyload-e977be3c78ea9d976e9b2338244b214a4b3a5199.tar.xz
"New Year" Update: hook plugins
Diffstat (limited to 'module/plugins/hooks/PutdriveCom.py')
-rw-r--r--module/plugins/hooks/PutdriveCom.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/module/plugins/hooks/PutdriveCom.py b/module/plugins/hooks/PutdriveCom.py
new file mode 100644
index 000000000..f665dabee
--- /dev/null
+++ b/module/plugins/hooks/PutdriveCom.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.hooks.ZeveraCom import ZeveraCom
+
+
+class PutdriveCom(ZeveraCom):
+ __name__ = "PutdriveCom"
+ __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")]