diff options
| author | 2015-05-29 23:33:10 +0200 | |
|---|---|---|
| committer | 2015-05-29 23:33:10 +0200 | |
| commit | 844dfd92f590e531ca2f7fd86305fcbc13a03721 (patch) | |
| tree | 5303bd07749b362dab071ada6197fe37dda85b27 /module/plugins/hooks/PutdriveComHook.py | |
| parent | [BitshareCom] Code cosmetics (diff) | |
| parent | [SimpleHoster] Fix DB error (diff) | |
| download | pyload-844dfd92f590e531ca2f7fd86305fcbc13a03721.tar.xz | |
Merge pull request #1 from pyload/stable
sync 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..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")] | 
