diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:45:01 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:45:01 +0200 |
commit | 04a030f6c5e6703b58825d04071ea7728b485493 (patch) | |
tree | d562aa2d342b76ac65c4260e7814dd3118fb9e09 /module/plugins/hooks/PutdriveComHook.py | |
parent | Default theme is Next (diff) | |
download | pyload-04a030f6c5e6703b58825d04071ea7728b485493.tar.xz |
Prepare hook plugins to merging from stable
Diffstat (limited to 'module/plugins/hooks/PutdriveComHook.py')
-rw-r--r-- | module/plugins/hooks/PutdriveComHook.py | 18 |
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..85e2f541d --- /dev/null +++ b/module/plugins/hooks/PutdriveComHook.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- + +from pyload.plugin.hook.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")] |