summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
commit486adc1874e463b1563ad2394b216faff388b10d (patch)
tree58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/addon
parentFix https://github.com/pyload/pyload/issues/1349 (diff)
downloadpyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/addon')
-rw-r--r--pyload/plugin/addon/AndroidPhoneNotify.py14
-rw-r--r--pyload/plugin/addon/AntiVirus.py14
-rw-r--r--pyload/plugin/addon/Checksum.py14
-rw-r--r--pyload/plugin/addon/ClickAndLoad.py14
-rw-r--r--pyload/plugin/addon/DeleteFinished.py14
-rw-r--r--pyload/plugin/addon/DownloadScheduler.py14
-rw-r--r--pyload/plugin/addon/ExternalScripts.py14
-rw-r--r--pyload/plugin/addon/ExtractArchive.py14
-rw-r--r--pyload/plugin/addon/HotFolder.py14
-rw-r--r--pyload/plugin/addon/IRCInterface.py14
-rw-r--r--pyload/plugin/addon/JustPremium.py14
-rw-r--r--pyload/plugin/addon/MergeFiles.py14
-rw-r--r--pyload/plugin/addon/MultiHome.py14
-rw-r--r--pyload/plugin/addon/RestartFailed.py14
-rw-r--r--pyload/plugin/addon/RestartSlow.py14
-rw-r--r--pyload/plugin/addon/SkipRev.py14
-rw-r--r--pyload/plugin/addon/UnSkipOnFail.py14
-rw-r--r--pyload/plugin/addon/UpdateManager.py16
-rw-r--r--pyload/plugin/addon/WindowsPhoneNotify.py14
-rw-r--r--pyload/plugin/addon/XMPPInterface.py14
20 files changed, 141 insertions, 141 deletions
diff --git a/pyload/plugin/addon/AndroidPhoneNotify.py b/pyload/plugin/addon/AndroidPhoneNotify.py
index 8332f668d..d3b390e6e 100644
--- a/pyload/plugin/addon/AndroidPhoneNotify.py
+++ b/pyload/plugin/addon/AndroidPhoneNotify.py
@@ -7,11 +7,11 @@ from pyload.plugin.Addon import Addon, Expose
class AndroidPhoneNotify(Addon):
- __name = "AndroidPhoneNotify"
- __type = "addon"
- __version = "0.07"
+ __name__ = "AndroidPhoneNotify"
+ __type__ = "addon"
+ __version__ = "0.07"
- __config = [("apikey" , "str" , "API key" , "" ),
+ __config__ = [("apikey" , "str" , "API key" , "" ),
("notifycaptcha" , "bool", "Notify captcha request" , True ),
("notifypackage" , "bool", "Notify package finished" , True ),
("notifyprocessed", "bool", "Notify packages processed" , True ),
@@ -21,9 +21,9 @@ class AndroidPhoneNotify(Addon):
("sendpermin" , "int" , "Max notifications per minute" , 12 ),
("ignoreclient" , "bool", "Send notifications if client is connected", False)]
- __description = """Send push notifications to your Android Phone (using notifymyandroid.com)"""
- __license = "GPLv3"
- __authors = [("Steven Kosyra" , "steven.kosyra@gmail.com"),
+ __description__ = """Send push notifications to your Android Phone (using notifymyandroid.com)"""
+ __license__ = "GPLv3"
+ __authors__ = [("Steven Kosyra" , "steven.kosyra@gmail.com"),
("Walter Purcaro", "vuolter@gmail.com" )]
diff --git a/pyload/plugin/addon/AntiVirus.py b/pyload/plugin/addon/AntiVirus.py
index ef0cda79e..619893735 100644
--- a/pyload/plugin/addon/AntiVirus.py
+++ b/pyload/plugin/addon/AntiVirus.py
@@ -9,21 +9,21 @@ from pyload.utils import fs_encode, fs_join
class AntiVirus(Addon):
- __name = "AntiVirus"
- __type = "addon"
- __version = "0.05"
+ __name__ = "AntiVirus"
+ __type__ = "addon"
+ __version__ = "0.05"
#@TODO: add trash option (use Send2Trash lib)
- __config = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"),
+ __config__ = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"),
("quardir" , "folder" , "Quarantine folder" , "" ),
("scanfailed", "bool" , "Scan incompleted files (failed downloads)", False ),
("cmdfile" , "file" , "Antivirus executable" , "" ),
("cmdargs" , "str" , "Scan options" , "" ),
("ignore-err", "bool" , "Ignore scan errors" , False )]
- __description = """Scan downloaded files with antivirus program"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Scan downloaded files with antivirus program"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
@Expose
diff --git a/pyload/plugin/addon/Checksum.py b/pyload/plugin/addon/Checksum.py
index 53b9b4e9f..4b1380506 100644
--- a/pyload/plugin/addon/Checksum.py
+++ b/pyload/plugin/addon/Checksum.py
@@ -38,20 +38,20 @@ def computeChecksum(local_file, algorithm):
class Checksum(Addon):
- __name = "Checksum"
- __type = "addon"
- __version = "0.16"
+ __name__ = "Checksum"
+ __type__ = "addon"
+ __version__ = "0.16"
- __config = [("activated" , "bool" , "Activated" , True ),
+ __config__ = [("activated" , "bool" , "Activated" , True ),
("check_checksum", "bool" , "Check checksum? (If False only size will be verified)", True ),
("check_action" , "fail;retry;nothing", "What to do if check fails?" , "retry"),
("max_tries" , "int" , "Number of retries" , 2 ),
("retry_action" , "fail;nothing" , "What to do if all retries fail?" , "fail" ),
("wait_time" , "int" , "Time to wait before each retry (seconds)" , 1 )]
- __description = """Verify downloaded file size and checksum"""
- __license = "GPLv3"
- __authors = [("zoidberg" , "zoidberg@mujmail.cz"),
+ __description__ = """Verify downloaded file size and checksum"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg" , "zoidberg@mujmail.cz"),
("Walter Purcaro", "vuolter@gmail.com" ),
("stickell" , "l.stickell@yahoo.it")]
diff --git a/pyload/plugin/addon/ClickAndLoad.py b/pyload/plugin/addon/ClickAndLoad.py
index 1e420fa8e..73976d7e2 100644
--- a/pyload/plugin/addon/ClickAndLoad.py
+++ b/pyload/plugin/addon/ClickAndLoad.py
@@ -22,17 +22,17 @@ def forward(source, destination):
#@TODO: IPv6 support
class ClickAndLoad(Addon):
- __name = "ClickAndLoad"
- __type = "addon"
- __version = "0.41"
+ __name__ = "ClickAndLoad"
+ __type__ = "addon"
+ __version__ = "0.41"
- __config = [("activated", "bool", "Activated" , True),
+ __config__ = [("activated", "bool", "Activated" , True),
("port" , "int" , "Port" , 9666),
("extern" , "bool", "Listen on the public network interface", True)]
- __description = """Click'n'Load addon plugin"""
- __license = "GPLv3"
- __authors = [("RaNaN" , "RaNaN@pyload.de" ),
+ __description__ = """Click'n'Load addon plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("RaNaN" , "RaNaN@pyload.de" ),
("Walter Purcaro", "vuolter@gmail.com")]
diff --git a/pyload/plugin/addon/DeleteFinished.py b/pyload/plugin/addon/DeleteFinished.py
index 7e47a8728..8bb681cca 100644
--- a/pyload/plugin/addon/DeleteFinished.py
+++ b/pyload/plugin/addon/DeleteFinished.py
@@ -5,17 +5,17 @@ from pyload.plugin.Addon import Addon
class DeleteFinished(Addon):
- __name = "DeleteFinished"
- __type = "addon"
- __version = "1.12"
+ __name__ = "DeleteFinished"
+ __type__ = "addon"
+ __version__ = "1.12"
- __config = [("activated" , "bool", "Activated" , "False"),
+ __config__ = [("activated" , "bool", "Activated" , "False"),
("interval" , "int" , "Delete every (hours)" , "72" ),
("deloffline", "bool", "Delete packages with offline links", "False")]
- __description = """Automatically delete all finished packages from queue"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Automatically delete all finished packages from queue"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
# event_list = ["pluginConfigChanged"]
diff --git a/pyload/plugin/addon/DownloadScheduler.py b/pyload/plugin/addon/DownloadScheduler.py
index 62cee31c5..de961cc1f 100644
--- a/pyload/plugin/addon/DownloadScheduler.py
+++ b/pyload/plugin/addon/DownloadScheduler.py
@@ -7,16 +7,16 @@ from pyload.plugin.Addon import Addon
class DownloadScheduler(Addon):
- __name = "DownloadScheduler"
- __type = "addon"
- __version = "0.22"
+ __name__ = "DownloadScheduler"
+ __type__ = "addon"
+ __version__ = "0.22"
- __config = [("timetable", "str" , "List time periods as hh:mm full or number(kB/s)" , "0:00 full, 7:00 250, 10:00 0, 17:00 150"),
+ __config__ = [("timetable", "str" , "List time periods as hh:mm full or number(kB/s)" , "0:00 full, 7:00 250, 10:00 0, 17:00 150"),
("abort" , "bool", "Abort active downloads when start period with speed 0", False )]
- __description = """Download Scheduler"""
- __license = "GPLv3"
- __authors = [("zoidberg", "zoidberg@mujmail.cz"),
+ __description__ = """Download Scheduler"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz"),
("stickell", "l.stickell@yahoo.it")]
diff --git a/pyload/plugin/addon/ExternalScripts.py b/pyload/plugin/addon/ExternalScripts.py
index 1ba30323f..502a6dc7b 100644
--- a/pyload/plugin/addon/ExternalScripts.py
+++ b/pyload/plugin/addon/ExternalScripts.py
@@ -8,16 +8,16 @@ from pyload.utils import fs_encode, fs_join
class ExternalScripts(Addon):
- __name = "ExternalScripts"
- __type = "addon"
- __version = "0.37"
+ __name__ = "ExternalScripts"
+ __type__ = "addon"
+ __version__ = "0.37"
- __config = [("activated", "bool", "Activated" , True ),
+ __config__ = [("activated", "bool", "Activated" , True ),
("waitend" , "bool", "Wait script ending", False)]
- __description = """Run external scripts"""
- __license = "GPLv3"
- __authors = [("mkaay" , "mkaay@mkaay.de" ),
+ __description__ = """Run external scripts"""
+ __license__ = "GPLv3"
+ __authors__ = [("mkaay" , "mkaay@mkaay.de" ),
("RaNaN" , "ranan@pyload.org" ),
("spoob" , "spoob@pyload.org" ),
("Walter Purcaro", "vuolter@gmail.com")]
diff --git a/pyload/plugin/addon/ExtractArchive.py b/pyload/plugin/addon/ExtractArchive.py
index c5b3b6993..93dd52e46 100644
--- a/pyload/plugin/addon/ExtractArchive.py
+++ b/pyload/plugin/addon/ExtractArchive.py
@@ -104,11 +104,11 @@ class ArchiveQueue(object):
class ExtractArchive(Addon):
- __name = "ExtractArchive"
- __type = "addon"
- __version = "1.38"
+ __name__ = "ExtractArchive"
+ __type__ = "addon"
+ __version__ = "1.38"
- __config = [("activated" , "bool" , "Activated" , True ),
+ __config__ = [("activated" , "bool" , "Activated" , True ),
("fullpath" , "bool" , "Extract with full paths" , True ),
("overwrite" , "bool" , "Overwrite files" , False ),
("keepbroken" , "bool" , "Try to extract broken archives" , False ),
@@ -125,9 +125,9 @@ class ExtractArchive(Addon):
("waitall" , "bool" , "Run after all downloads was processed" , False ),
("renice" , "int" , "CPU priority" , 0 )]
- __description = """Extract different kind of archives"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com"),
+ __description__ = """Extract different kind of archives"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com"),
("Immenz" , "immenz@gmx.net" )]
diff --git a/pyload/plugin/addon/HotFolder.py b/pyload/plugin/addon/HotFolder.py
index 14d0a7ce3..0137514a8 100644
--- a/pyload/plugin/addon/HotFolder.py
+++ b/pyload/plugin/addon/HotFolder.py
@@ -12,18 +12,18 @@ from pyload.utils import fs_encode, fs_join
class HotFolder(Addon):
- __name = "HotFolder"
- __type = "addon"
- __version = "0.14"
+ __name__ = "HotFolder"
+ __type__ = "addon"
+ __version__ = "0.14"
- __config = [("folder" , "str" , "Folder to observe" , "container"),
+ __config__ = [("folder" , "str" , "Folder to observe" , "container"),
("watch_file", "bool", "Observe link file" , False ),
("keep" , "bool", "Keep added containers", True ),
("file" , "str" , "Link file" , "links.txt")]
- __description = """Observe folder and file for changes and add container and links"""
- __license = "GPLv3"
- __authors = [("RaNaN", "RaNaN@pyload.de")]
+ __description__ = """Observe folder and file for changes and add container and links"""
+ __license__ = "GPLv3"
+ __authors__ = [("RaNaN", "RaNaN@pyload.de")]
def setup(self):
diff --git a/pyload/plugin/addon/IRCInterface.py b/pyload/plugin/addon/IRCInterface.py
index ba5fe1d0f..6d85a5681 100644
--- a/pyload/plugin/addon/IRCInterface.py
+++ b/pyload/plugin/addon/IRCInterface.py
@@ -17,11 +17,11 @@ from pyload.utils import formatSize
class IRCInterface(Thread, Addon):
- __name = "IRCInterface"
- __type = "addon"
- __version = "0.13"
+ __name__ = "IRCInterface"
+ __type__ = "addon"
+ __version__ = "0.13"
- __config = [("host" , "str" , "IRC-Server Address" , "Enter your server here!"),
+ __config__ = [("host" , "str" , "IRC-Server Address" , "Enter your server here!"),
("port" , "int" , "IRC-Server Port" , 6667 ),
("ident" , "str" , "Clients ident" , "pyload-irc" ),
("realname" , "str" , "Realname" , "pyload-irc" ),
@@ -32,9 +32,9 @@ class IRCInterface(Thread, Addon):
("info_pack", "bool", "Inform about every package finished" , True ),
("captcha" , "bool", "Send captcha requests" , True )]
- __description = """Connect to irc and let owner perform different tasks"""
- __license = "GPLv3"
- __authors = [("Jeix", "Jeix@hasnomail.com")]
+ __description__ = """Connect to irc and let owner perform different tasks"""
+ __license__ = "GPLv3"
+ __authors__ = [("Jeix", "Jeix@hasnomail.com")]
def __init__(self, core, manager):
diff --git a/pyload/plugin/addon/JustPremium.py b/pyload/plugin/addon/JustPremium.py
index 03a2b9261..b878f302d 100644
--- a/pyload/plugin/addon/JustPremium.py
+++ b/pyload/plugin/addon/JustPremium.py
@@ -6,16 +6,16 @@ from pyload.plugin.Addon import Addon
class JustPremium(Addon):
- __name = "JustPremium"
- __type = "addon"
- __version = "0.22"
+ __name__ = "JustPremium"
+ __type__ = "addon"
+ __version__ = "0.22"
- __config = [("excluded", "str", "Exclude hosters (comma separated)", ""),
+ __config__ = [("excluded", "str", "Exclude hosters (comma separated)", ""),
("included", "str", "Include hosters (comma separated)", "")]
- __description = """Remove not-premium links from added urls"""
- __license = "GPLv3"
- __authors = [("mazleu" , "mazleica@gmail.com"),
+ __description__ = """Remove not-premium links from added urls"""
+ __license__ = "GPLv3"
+ __authors__ = [("mazleu" , "mazleica@gmail.com"),
("Walter Purcaro", "vuolter@gmail.com" ),
("immenz" , "immenz@gmx.net" )]
diff --git a/pyload/plugin/addon/MergeFiles.py b/pyload/plugin/addon/MergeFiles.py
index a0298052b..393e66628 100644
--- a/pyload/plugin/addon/MergeFiles.py
+++ b/pyload/plugin/addon/MergeFiles.py
@@ -12,15 +12,15 @@ from pyload.utils import fs_join
class MergeFiles(Addon):
- __name = "MergeFiles"
- __type = "addon"
- __version = "0.14"
+ __name__ = "MergeFiles"
+ __type__ = "addon"
+ __version__ = "0.14"
- __config = [("activated", "bool", "Activated", True)]
+ __config__ = [("activated", "bool", "Activated", True)]
- __description = """Merges parts splitted with hjsplit"""
- __license = "GPLv3"
- __authors = [("and9000", "me@has-no-mail.com")]
+ __description__ = """Merges parts splitted with hjsplit"""
+ __license__ = "GPLv3"
+ __authors__ = [("and9000", "me@has-no-mail.com")]
BUFFER_SIZE = 4096
diff --git a/pyload/plugin/addon/MultiHome.py b/pyload/plugin/addon/MultiHome.py
index 458ddbeca..03974d6c6 100644
--- a/pyload/plugin/addon/MultiHome.py
+++ b/pyload/plugin/addon/MultiHome.py
@@ -6,15 +6,15 @@ from pyload.plugin.Addon import Addon
class MultiHome(Addon):
- __name = "MultiHome"
- __type = "addon"
- __version = "0.12"
+ __name__ = "MultiHome"
+ __type__ = "addon"
+ __version__ = "0.12"
- __config = [("interfaces", "str", "Interfaces", "None")]
+ __config__ = [("interfaces", "str", "Interfaces", "None")]
- __description = """Ip address changer"""
- __license = "GPLv3"
- __authors = [("mkaay", "mkaay@mkaay.de")]
+ __description__ = """Ip address changer"""
+ __license__ = "GPLv3"
+ __authors__ = [("mkaay", "mkaay@mkaay.de")]
def setup(self):
diff --git a/pyload/plugin/addon/RestartFailed.py b/pyload/plugin/addon/RestartFailed.py
index 695ebb154..0b8f4d077 100644
--- a/pyload/plugin/addon/RestartFailed.py
+++ b/pyload/plugin/addon/RestartFailed.py
@@ -4,16 +4,16 @@ from pyload.plugin.Addon import Addon
class RestartFailed(Addon):
- __name = "RestartFailed"
- __type = "addon"
- __version = "1.58"
+ __name__ = "RestartFailed"
+ __type__ = "addon"
+ __version__ = "1.58"
- __config = [("activated", "bool", "Activated" , True),
+ __config__ = [("activated", "bool", "Activated" , True),
("interval" , "int" , "Check interval in minutes", 90 )]
- __description = """Restart all the failed downloads in queue"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Restart all the failed downloads in queue"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
# event_list = ["pluginConfigChanged"]
diff --git a/pyload/plugin/addon/RestartSlow.py b/pyload/plugin/addon/RestartSlow.py
index 1455fbd42..34416e79a 100644
--- a/pyload/plugin/addon/RestartSlow.py
+++ b/pyload/plugin/addon/RestartSlow.py
@@ -6,19 +6,19 @@ from pyload.plugin.Addon import Addon
class RestartSlow(Addon):
- __name = "RestartSlow"
- __type = "addon"
- __version = "0.04"
+ __name__ = "RestartSlow"
+ __type__ = "addon"
+ __version__ = "0.04"
- __config = [("free_limit" , "int" , "Transfer speed threshold in kilobytes" , 100 ),
+ __config__ = [("free_limit" , "int" , "Transfer speed threshold in kilobytes" , 100 ),
("free_time" , "int" , "Sample interval in minutes" , 5 ),
("premium_limit", "int" , "Transfer speed threshold for premium download in kilobytes", 300 ),
("premium_time" , "int" , "Sample interval for premium download in minutes" , 2 ),
("safe_mode" , "bool", "Don't restart if download is not resumable" , True)]
- __description = """Restart slow downloads"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Restart slow downloads"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
event_list = ["downloadStarts"]
diff --git a/pyload/plugin/addon/SkipRev.py b/pyload/plugin/addon/SkipRev.py
index 5209da615..1c42ddfd8 100644
--- a/pyload/plugin/addon/SkipRev.py
+++ b/pyload/plugin/addon/SkipRev.py
@@ -12,16 +12,16 @@ from pyload.plugin.Plugin import SkipDownload
class SkipRev(Addon):
- __name = "SkipRev"
- __type = "addon"
- __version = "0.29"
+ __name__ = "SkipRev"
+ __type__ = "addon"
+ __version__ = "0.29"
- __config = [("mode" , "Auto;Manual", "Choose recovery archives to skip" , "Auto"),
+ __config__ = [("mode" , "Auto;Manual", "Choose recovery archives to skip" , "Auto"),
("revtokeep", "int" , "Number of recovery archives to keep for package", 0 )]
- __description = """Skip recovery archives (.rev)"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Skip recovery archives (.rev)"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
@staticmethod
diff --git a/pyload/plugin/addon/UnSkipOnFail.py b/pyload/plugin/addon/UnSkipOnFail.py
index b7496de0b..f81066daa 100644
--- a/pyload/plugin/addon/UnSkipOnFail.py
+++ b/pyload/plugin/addon/UnSkipOnFail.py
@@ -5,15 +5,15 @@ from pyload.plugin.Addon import Addon
class UnSkipOnFail(Addon):
- __name = "UnSkipOnFail"
- __type = "addon"
- __version = "0.05"
+ __name__ = "UnSkipOnFail"
+ __type__ = "addon"
+ __version__ = "0.05"
- __config = [("activated", "bool", "Activated", True)]
+ __config__ = [("activated", "bool", "Activated", True)]
- __description = """Restart skipped duplicates when download fails"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Restart skipped duplicates when download fails"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
def downloadFailed(self, pyfile):
diff --git a/pyload/plugin/addon/UpdateManager.py b/pyload/plugin/addon/UpdateManager.py
index 34ef771c2..8e27d9959 100644
--- a/pyload/plugin/addon/UpdateManager.py
+++ b/pyload/plugin/addon/UpdateManager.py
@@ -28,11 +28,11 @@ def exists(path):
class UpdateManager(Addon):
- __name = "UpdateManager"
- __type = "addon"
- __version = "0.50"
+ __name__ = "UpdateManager"
+ __type__ = "addon"
+ __version__ = "0.50"
- __config = [("activated", "bool", "Activated", True),
+ __config__ = [("activated", "bool", "Activated", True),
("checkinterval", "int", "Check interval in hours", 8),
("autorestart", "bool",
"Auto-restart pyLoad when required", True),
@@ -43,9 +43,9 @@ class UpdateManager(Addon):
"Monitor plugin code changes in debug mode", True),
("nodebugupdate", "bool", "Don't update plugins in debug mode", False)]
- __description = """ Check for updates """
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """ Check for updates """
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
SERVER_URL = "http://updatemanager.pyload.org" if release_status == 5 else None
MIN_CHECK_INTERVAL = 3 * 60 * 60 #: 3 hours
@@ -165,7 +165,7 @@ class UpdateManager(Addon):
url = data[0]
schema = data[1].split('|')
- VERSION = re.compile(r'__version.*=.*("|\')([\d.]+)')
+ VERSION = re.compile(r'__version__.*=.*("|\')([\d.]+)')
if "BLACKLIST" in data:
blacklist = data[data.index('BLACKLIST') + 1:]
diff --git a/pyload/plugin/addon/WindowsPhoneNotify.py b/pyload/plugin/addon/WindowsPhoneNotify.py
index b1d1c8b0f..341e682b2 100644
--- a/pyload/plugin/addon/WindowsPhoneNotify.py
+++ b/pyload/plugin/addon/WindowsPhoneNotify.py
@@ -7,11 +7,11 @@ from pyload.plugin.Addon import Addon, Expose
class WindowsPhoneNotify(Addon):
- __name = "WindowsPhoneNotify"
- __type = "addon"
- __version = "0.09"
+ __name__ = "WindowsPhoneNotify"
+ __type__ = "addon"
+ __version__ = "0.09"
- __config = [("id" , "str" , "Push ID" , "" ),
+ __config__ = [("id" , "str" , "Push ID" , "" ),
("url" , "str" , "Push url" , "" ),
("notifycaptcha" , "bool", "Notify captcha request" , True ),
("notifypackage" , "bool", "Notify package finished" , True ),
@@ -22,9 +22,9 @@ class WindowsPhoneNotify(Addon):
("sendpermin" , "int" , "Max notifications per minute" , 12 ),
("ignoreclient" , "bool", "Send notifications if client is connected", False)]
- __description = """Send push notifications to Windows Phone"""
- __license = "GPLv3"
- __authors = [("Andy Voigt" , "phone-support@hotmail.de"),
+ __description__ = """Send push notifications to Windows Phone"""
+ __license__ = "GPLv3"
+ __authors__ = [("Andy Voigt" , "phone-support@hotmail.de"),
("Walter Purcaro", "vuolter@gmail.com" )]
diff --git a/pyload/plugin/addon/XMPPInterface.py b/pyload/plugin/addon/XMPPInterface.py
index 2733cfde0..c0c31c738 100644
--- a/pyload/plugin/addon/XMPPInterface.py
+++ b/pyload/plugin/addon/XMPPInterface.py
@@ -10,11 +10,11 @@ from pyload.plugin.addon.IRCInterface import IRCInterface
class XMPPInterface(IRCInterface, JabberClient):
- __name = "XMPPInterface"
- __type = "addon"
- __version = "0.11"
+ __name__ = "XMPPInterface"
+ __type__ = "addon"
+ __version__ = "0.11"
- __config = [("jid" , "str" , "Jabber ID" , "user@exmaple-jabber-server.org" ),
+ __config__ = [("jid" , "str" , "Jabber ID" , "user@exmaple-jabber-server.org" ),
("pw" , "str" , "Password" , "" ),
("tls" , "bool", "Use TLS" , False ),
("owners" , "str" , "List of JIDs accepting commands from", "me@icq-gateway.org;some@msn-gateway.org"),
@@ -22,9 +22,9 @@ class XMPPInterface(IRCInterface, JabberClient):
("info_pack", "bool", "Inform about every package finished" , True ),
("captcha" , "bool", "Send captcha requests" , True )]
- __description = """Connect to jabber and let owner perform different tasks"""
- __license = "GPLv3"
- __authors = [("RaNaN", "RaNaN@pyload.org")]
+ __description__ = """Connect to jabber and let owner perform different tasks"""
+ __license__ = "GPLv3"
+ __authors__ = [("RaNaN", "RaNaN@pyload.org")]
implements(IMessageHandlersProvider)