From da966da78926825ccfebcfa5049320c4834c1bba Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 26 Jan 2011 17:02:09 +0100 Subject: little improvments --- module/plugins/PluginManager.py | 4 +++- module/plugins/hooks/Ev0InFetcher.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'module') 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") -- cgit v1.2.3