summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-26 17:02:09 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-26 17:02:09 +0100
commitda966da78926825ccfebcfa5049320c4834c1bba (patch)
treec54f82c270762556d7642226bbf2753837cf0a17
parentfloat fix (diff)
downloadpyload-da966da78926825ccfebcfa5049320c4834c1bba.tar.xz
little improvments
-rw-r--r--module/plugins/PluginManager.py4
-rw-r--r--module/plugins/hooks/Ev0InFetcher.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 10604dc9b..bf9610463 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -38,6 +38,8 @@ except ImportError: # python 2.5
from module.ConfigParser import IGNORE
+NO_AUTOLOAD = ("XMPPInterface", "MultiHome", "Ev0InFetcher")
+
class PluginManager():
def __init__(self, core):
self.core = core
@@ -173,7 +175,7 @@ class PluginManager():
config = [list(config)]
if folder == "hooks":
- config.append( ["load", "bool", "Load on startup", True if name not in ("XMPPInterface", "MultiHome") else False] )
+ config.append( ["load", "bool", "Load on startup", True if name not in NO_AUTOLOAD else False] )
for item in config:
self.core.config.addPluginConfig([name]+item)
diff --git a/module/plugins/hooks/Ev0InFetcher.py b/module/plugins/hooks/Ev0InFetcher.py
index befa420c7..59e1c5462 100644
--- a/module/plugins/hooks/Ev0InFetcher.py
+++ b/module/plugins/hooks/Ev0InFetcher.py
@@ -29,7 +29,7 @@ class Ev0InFetcher(Hook, PluginStorage):
("interval", "int", "Check interval in minutes", "10"),
("queue", "bool", "Move new shows directly to Queue", False),
("shows", "str", "Shows to check for (comma seperated)", ""),
- ("quality", "str", "xvid/x264/rmvb", "xvid"),
+ ("quality", "xvid;x264;rmvb", "Video Format", "xvid"),
("hoster", "str", "Hoster to use (comma seperated)", "NetloadIn,RapidshareCom,MegauploadCom,HotfileCom")]
__author_name__ = ("mkaay")
__author_mail__ = ("mkaay@mkaay.de")