summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addon
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/addon')
-rw-r--r--pyload/plugins/addon/Checksum.py6
-rw-r--r--pyload/plugins/addon/ClickAndLoad.py4
-rw-r--r--pyload/plugins/addon/DeleteFinished.py3
-rw-r--r--pyload/plugins/addon/DownloadScheduler.py4
-rw-r--r--pyload/plugins/addon/ExternalScripts.py7
-rw-r--r--pyload/plugins/addon/ExtractArchive.py6
-rw-r--r--pyload/plugins/addon/HotFolder.py3
-rw-r--r--pyload/plugins/addon/IRCInterface.py3
-rw-r--r--pyload/plugins/addon/MergeFiles.py4
-rw-r--r--pyload/plugins/addon/MultiHome.py3
-rw-r--r--pyload/plugins/addon/RestartFailed.py6
-rw-r--r--pyload/plugins/addon/UnSkipOnFail.py3
-rw-r--r--pyload/plugins/addon/WindowsPhoneToastNotify.py3
-rw-r--r--pyload/plugins/addon/XMPPInterface.py3
14 files changed, 29 insertions, 29 deletions
diff --git a/pyload/plugins/addon/Checksum.py b/pyload/plugins/addon/Checksum.py
index 1ce5415ed..551ce7bd9 100644
--- a/pyload/plugins/addon/Checksum.py
+++ b/pyload/plugins/addon/Checksum.py
@@ -50,8 +50,10 @@ class Checksum(Addon):
("wait_time", "int", "Time to wait before each retry (seconds)", 1)]
__description__ = """Verify downloaded file size and checksum"""
- __author_name__ = ("zoidberg", "Walter Purcaro", "stickell")
- __author_mail__ = ("zoidberg@mujmail.cz", "vuolter@gmail.com", "l.stickell@yahoo.it")
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz"),
+ ("Walter Purcaro", "vuolter@gmail.com"),
+ ("stickell", "l.stickell@yahoo.it")]
+
methods = {'sfv': 'crc32', 'crc': 'crc32', 'hash': 'md5'}
regexps = {'sfv': r'^(?P<name>[^;].+)\s+(?P<hash>[0-9A-Fa-f]{8})$',
diff --git a/pyload/plugins/addon/ClickAndLoad.py b/pyload/plugins/addon/ClickAndLoad.py
index ae541ca09..7a90b8f04 100644
--- a/pyload/plugins/addon/ClickAndLoad.py
+++ b/pyload/plugins/addon/ClickAndLoad.py
@@ -15,8 +15,8 @@ class ClickAndLoad(Addon):
("extern", "bool", "Allow external link adding", False)]
__description__ = """Gives abillity to use jd's click and load. depends on webinterface"""
- __author_name__ = ("RaNaN", "mkaay")
- __author_mail__ = ("RaNaN@pyload.de", "mkaay@mkaay.de")
+ __authors__ = [("RaNaN", "RaNaN@pyload.de"),
+ ("mkaay", "mkaay@mkaay.de")]
def coreReady(self):
diff --git a/pyload/plugins/addon/DeleteFinished.py b/pyload/plugins/addon/DeleteFinished.py
index eb6992fec..25e49dec5 100644
--- a/pyload/plugins/addon/DeleteFinished.py
+++ b/pyload/plugins/addon/DeleteFinished.py
@@ -14,8 +14,7 @@ class DeleteFinished(Addon):
('deloffline', 'bool', 'Delete packages with offline links', 'False')]
__description__ = """Automatically delete all finished packages from queue"""
- __author_name__ = "Walter Purcaro"
- __author_mail__ = "vuolter@gmail.com"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
## overwritten methods ##
diff --git a/pyload/plugins/addon/DownloadScheduler.py b/pyload/plugins/addon/DownloadScheduler.py
index 20c5ed1e1..48bbeb3af 100644
--- a/pyload/plugins/addon/DownloadScheduler.py
+++ b/pyload/plugins/addon/DownloadScheduler.py
@@ -18,8 +18,8 @@ class DownloadScheduler(Addon):
("abort", "bool", "Abort active downloads when start period with speed 0", False)]
__description__ = """Download Scheduler"""
- __author_name__ = ("zoidberg", "stickell")
- __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz"),
+ ("stickell", "l.stickell@yahoo.it")]
def setup(self):
diff --git a/pyload/plugins/addon/ExternalScripts.py b/pyload/plugins/addon/ExternalScripts.py
index 023c656dc..52d14c9d3 100644
--- a/pyload/plugins/addon/ExternalScripts.py
+++ b/pyload/plugins/addon/ExternalScripts.py
@@ -18,8 +18,11 @@ class ExternalScripts(Addon):
__config__ = [("activated", "bool", "Activated", True)]
__description__ = """Run external scripts"""
- __author_name__ = ("mkaay", "RaNaN", "spoob", "Walter Purcaro")
- __author_mail__ = ("mkaay@mkaay.de", "ranan@pyload.org", "spoob@pyload.org", "vuolter@gmail.com")
+ __authors__ = [("mkaay", "mkaay@mkaay.de"),
+ ("RaNaN", "ranan@pyload.org"),
+ ("spoob", "spoob@pyload.org"),
+ ("Walter Purcaro", "vuolter@gmail.com")]
+
event_list = ["archive_extracted", "package_extracted", "all_archives_extracted", "all_archives_processed",
"allDownloadsFinished", "allDownloadsProcessed"]
diff --git a/pyload/plugins/addon/ExtractArchive.py b/pyload/plugins/addon/ExtractArchive.py
index 20693c83d..cdf2eecee 100644
--- a/pyload/plugins/addon/ExtractArchive.py
+++ b/pyload/plugins/addon/ExtractArchive.py
@@ -70,8 +70,10 @@ class ExtractArchive(Addon):
("renice", "int", "CPU Priority", 0)]
__description__ = """Extract different kind of archives"""
- __author_name__ = ("RaNaN", "AndroKev", "Walter Purcaro")
- __author_mail__ = ("ranan@pyload.org", "@pyloadforum", "vuolter@gmail.com")
+ __authors__ = [("RaNaN", "ranan@pyload.org"),
+ ("AndroKev", None),
+ ("Walter Purcaro", "vuolter@gmail.com")]
+
event_list = ["allDownloadsProcessed"]
diff --git a/pyload/plugins/addon/HotFolder.py b/pyload/plugins/addon/HotFolder.py
index 0c5008f93..cceb71ca7 100644
--- a/pyload/plugins/addon/HotFolder.py
+++ b/pyload/plugins/addon/HotFolder.py
@@ -21,8 +21,7 @@ class HotFolder(Addon):
("file", "str", "Link file", "links.txt")]
__description__ = """Observe folder and file for changes and add container and links"""
- __author_name__ = "RaNaN"
- __author_mail__ = "RaNaN@pyload.de"
+ __authors__ = [("RaNaN", "RaNaN@pyload.de")]
def setup(self):
diff --git a/pyload/plugins/addon/IRCInterface.py b/pyload/plugins/addon/IRCInterface.py
index 85175f4da..9f77bfc7e 100644
--- a/pyload/plugins/addon/IRCInterface.py
+++ b/pyload/plugins/addon/IRCInterface.py
@@ -33,8 +33,7 @@ class IRCInterface(Thread, Addon):
("captcha", "bool", "Send captcha requests", True)]
__description__ = """Connect to irc and let owner perform different tasks"""
- __author_name__ = "Jeix"
- __author_mail__ = "Jeix@hasnomail.com"
+ __authors__ = [("Jeix", "Jeix@hasnomail.com")]
def __init__(self, core, manager):
diff --git a/pyload/plugins/addon/MergeFiles.py b/pyload/plugins/addon/MergeFiles.py
index 16c88bcdd..1edbf119a 100644
--- a/pyload/plugins/addon/MergeFiles.py
+++ b/pyload/plugins/addon/MergeFiles.py
@@ -16,8 +16,8 @@ class MergeFiles(Addon):
__config__ = [("activated", "bool", "Activated", False)]
__description__ = """Merges parts splitted with hjsplit"""
- __author_name__ = "and9000"
- __author_mail__ = "me@has-no-mail.com"
+ __authors__ = [("and9000", "me@has-no-mail.com")]
+
BUFFER_SIZE = 4096
diff --git a/pyload/plugins/addon/MultiHome.py b/pyload/plugins/addon/MultiHome.py
index 2aa60ecc3..f7bca4843 100644
--- a/pyload/plugins/addon/MultiHome.py
+++ b/pyload/plugins/addon/MultiHome.py
@@ -14,8 +14,7 @@ class MultiHome(Addon):
("interfaces", "str", "Interfaces", "None")]
__description__ = """Ip address changer"""
- __author_name__ = "mkaay"
- __author_mail__ = "mkaay@mkaay.de"
+ __authors__ = [("mkaay", "mkaay@mkaay.de")]
def setup(self):
diff --git a/pyload/plugins/addon/RestartFailed.py b/pyload/plugins/addon/RestartFailed.py
index db3a61523..7d736db46 100644
--- a/pyload/plugins/addon/RestartFailed.py
+++ b/pyload/plugins/addon/RestartFailed.py
@@ -12,13 +12,13 @@ class RestartFailed(Addon):
("interval", "int", "Check interval in minutes", 90)]
__description__ = """Periodically restart all failed downloads in queue"""
- __author_name__ = "Walter Purcaro"
- __author_mail__ = "vuolter@gmail.com"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- MIN_INTERVAL = 15 * 60 #: 15m minimum check interval (value is in seconds)
event_list = ["pluginConfigChanged"]
+ MIN_INTERVAL = 15 * 60 #: 15m minimum check interval (value is in seconds)
+
def pluginConfigChanged(self, plugin, name, value):
if name == "interval":
diff --git a/pyload/plugins/addon/UnSkipOnFail.py b/pyload/plugins/addon/UnSkipOnFail.py
index 27662cad3..7ab069e93 100644
--- a/pyload/plugins/addon/UnSkipOnFail.py
+++ b/pyload/plugins/addon/UnSkipOnFail.py
@@ -15,8 +15,7 @@ class UnSkipOnFail(Addon):
__config__ = [("activated", "bool", "Activated", True)]
__description__ = """When a download fails, restart skipped duplicates"""
- __author_name__ = "hagg"
- __author_mail__ = None
+ __authors__ = [("hagg", None)]
def downloadFailed(self, pyfile):
diff --git a/pyload/plugins/addon/WindowsPhoneToastNotify.py b/pyload/plugins/addon/WindowsPhoneToastNotify.py
index a35e28e3b..e6605dfb2 100644
--- a/pyload/plugins/addon/WindowsPhoneToastNotify.py
+++ b/pyload/plugins/addon/WindowsPhoneToastNotify.py
@@ -18,8 +18,7 @@ class WindowsPhoneToastNotify(Addon):
("pushTimeout", "int", "Timeout between notifications in seconds", 0)]
__description__ = """Send push notifications to Windows Phone"""
- __author_name__ = "Andy Voigt"
- __author_mail__ = "phone-support@hotmail.de"
+ __authors__ = [("Andy Voigt", "phone-support@hotmail.de")]
def setup(self):
diff --git a/pyload/plugins/addon/XMPPInterface.py b/pyload/plugins/addon/XMPPInterface.py
index f442cc0d0..de04f05fb 100644
--- a/pyload/plugins/addon/XMPPInterface.py
+++ b/pyload/plugins/addon/XMPPInterface.py
@@ -24,8 +24,7 @@ class XMPPInterface(IRCInterface, JabberClient):
("captcha", "bool", "Send captcha requests", True)]
__description__ = """Connect to jabber and let owner perform different tasks"""
- __author_name__ = "RaNaN"
- __author_mail__ = "RaNaN@pyload.org"
+ __authors__ = [("RaNaN", "RaNaN@pyload.org")]
implements(IMessageHandlersProvider)