From 89e728b615355befb562c11c8076f661ee61f24f Mon Sep 17 00:00:00 2001 From: spoob Date: Wed, 27 May 2009 22:19:24 +0200 Subject: created uniform plugin config, fixed some bugs --- Plugins/RSDF.py | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'Plugins/RSDF.py') diff --git a/Plugins/RSDF.py b/Plugins/RSDF.py index 65f01d41b..254f43f91 100644 --- a/Plugins/RSDF.py +++ b/Plugins/RSDF.py @@ -16,18 +16,15 @@ class RSDF(Plugin): def __init__(self, parent): Plugin.__init__(self, parent) - self.plugin_name = "RSDF" - self.plugin_pattern = r".*\.rsdf" - self.plugin_type = "container" - self.plugin_config = {} - pluginProp = {} - pluginProp ['name'] = "RSDF" - pluginProp ['version'] = "0.1" - pluginProp ['format'] = "*.py" - pluginProp ['description'] = """RSDF Plugin""" - pluginProp ['author'] = "RaNaN" - pluginProp ['author_email'] = "RaNaN@pyload.org" - self.pluginProp = pluginProp + plugin_config = {} + plugin_config['name'] = "RSDF" + plugin_config['type'] = "container" + plugin_config['pattern'] = r".*\.rsdf" + plugin_config['version'] = "0.2" + plugin_config['description'] = """RSDF Container Decode Plugin""" + plugin_config['author_name'] = ("RaNaN", "spoob") + plugin_config['author_mail'] = ("RaNaN@pyload.org", "spoob@pyload.org") + self.plugin_config = plugin_config self.parent = parent self.multi_dl = True self.links = [] -- cgit v1.2.3