diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:15:32 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:19:42 +0200 |
commit | 088e0e38fd7419951d31bbc389c95d1c662e550f (patch) | |
tree | 7e30ff7ff49705a5d6c200dd4bfd795a6ccb6c1c | |
parent | Fix __type__ for crypters (diff) | |
download | pyload-088e0e38fd7419951d31bbc389c95d1c662e550f.tar.xz |
Fix __config__
Merges vuolter/pyload@83ff313
(cherry picked from commit d27113cef108461e2363cc4c88c4a1d01222c9e9)
Conflicts:
module/plugins/Hook.py
module/plugins/hooks/MultiDebridCom.py
module/plugins/hooks/UnrestrictLi.py
40 files changed, 100 insertions, 102 deletions
diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py index 7f3f7b386..63231a893 100644 --- a/module/plugins/hooks/FreeWayMe.py +++ b/module/plugins/hooks/FreeWayMe.py @@ -25,11 +25,11 @@ class FreeWayMe(MultiHoster): __version__ = "0.11" __type__ = "hook" __description__ = """FreeWay.me hook plugin""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __author_name__ = "Nicolas Giese" __author_mail__ = "james@free-way.me" diff --git a/module/plugins/hooks/OverLoadMe.py b/module/plugins/hooks/OverLoadMe.py index 09ceea3ad..e15d0b05f 100644 --- a/module/plugins/hooks/OverLoadMe.py +++ b/module/plugins/hooks/OverLoadMe.py @@ -8,12 +8,12 @@ class OverLoadMe(MultiHoster): __name__ = "OverLoadMe" __version__ = "0.01" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), - ("https", "bool", "Enable HTTPS", "True"), + __config__ = [("activated", "bool", "Activated", False), + ("https", "bool", "Enable HTTPS", True), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "12")] + ("unloadFailing", "bool", "Revert to standard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 12)] __description__ = """Over-Load.me hook plugin""" __author_name__ = "marley" __author_mail__ = "marley@over-load.me" diff --git a/pyload/plugins/addons/AlldebridCom.py b/pyload/plugins/addons/AlldebridCom.py index 1e6680632..0f8d3bfbb 100644 --- a/pyload/plugins/addons/AlldebridCom.py +++ b/pyload/plugins/addons/AlldebridCom.py @@ -11,12 +11,12 @@ class AlldebridCom(MultiHoster): __version__ = "0.13" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), - ("https", "bool", "Enable HTTPS", "False"), + __config__ = [("activated", "bool", "Activated", False), + ("https", "bool", "Enable HTTPS", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __description__ = """Alldebrid.com hook plugin""" __author_name__ = "Andy Voigt" diff --git a/pyload/plugins/addons/Captcha9kw.py b/pyload/plugins/addons/Captcha9kw.py index b2895a357..1d7df86ed 100755 --- a/pyload/plugins/addons/Captcha9kw.py +++ b/pyload/plugins/addons/Captcha9kw.py @@ -33,15 +33,15 @@ class Captcha9kw(Hook): __description__ = """Send captchas to 9kw.eu""" __config__ = [("activated", "bool", "Activated", False), ("force", "bool", "Force CT even if client is connected", True), - ("https", "bool", "Enable HTTPS", "False"), - ("confirm", "bool", "Confirm Captcha (Cost +6)", "False"), - ("captchaperhour", "int", "Captcha per hour (max. 9999)", "9999"), - ("prio", "int", "Prio 1-10 (Cost +1-10)", "0"), + ("https", "bool", "Enable HTTPS", False), + ("confirm", "bool", "Confirm Captcha (Cost +6)", False), + ("captchaperhour", "int", "Captcha per hour (max. 9999)", 9999), + ("prio", "int", "Prio 1-10 (Cost +1-10)", 0), ("selfsolve", "bool", "If enabled and you have a 9kw client active only you will get your captcha to solve it (Selfsolve)", - "False"), - ("timeout", "int", "Timeout (max. 300)", "300"), - ("passkey", "password", "API key", ""), ] + False), + ("timeout", "int", "Timeout (max. 300)", 300), + ("passkey", "password", "API key", "")] __author_name__ = "RaNaN" __author_mail__ = "RaNaN@pyload.org" diff --git a/pyload/plugins/addons/CaptchaTrader.py b/pyload/plugins/addons/CaptchaTrader.py index 067ee7c9b..bfb7088dc 100644 --- a/pyload/plugins/addons/CaptchaTrader.py +++ b/pyload/plugins/addons/CaptchaTrader.py @@ -48,7 +48,7 @@ class CaptchaTrader(Hook): __config__ = [("activated", "bool", "Activated", False), ("username", "str", "Username", ""), ("force", "bool", "Force CT even if client is connected", False), - ("passkey", "password", "Password", ""), ] + ("passkey", "password", "Password", "")] __author_name__ = "RaNaN" __author_mail__ = "RaNaN@pyload.org" diff --git a/pyload/plugins/addons/ClickAndLoad.py b/pyload/plugins/addons/ClickAndLoad.py index be360c30c..0030ad09d 100644 --- a/pyload/plugins/addons/ClickAndLoad.py +++ b/pyload/plugins/addons/ClickAndLoad.py @@ -27,8 +27,8 @@ class ClickAndLoad(Addon): __name__ = "ClickAndLoad" __version__ = "0.22" __description__ = """Gives abillity to use jd's click and load. depends on webinterface""" - __config__ = [("activated", "bool", "Activated", "True"), - ("extern", "bool", "Allow external link adding", "False")] + __config__ = [("activated", "bool", "Activated", True), + ("extern", "bool", "Allow external link adding", False)] __author_name__ = ("RaNaN", "mkaay") __author_mail__ = ("RaNaN@pyload.de", "mkaay@mkaay.de") diff --git a/pyload/plugins/addons/DebridItaliaCom.py b/pyload/plugins/addons/DebridItaliaCom.py index 49733c244..24354881e 100644 --- a/pyload/plugins/addons/DebridItaliaCom.py +++ b/pyload/plugins/addons/DebridItaliaCom.py @@ -22,11 +22,11 @@ class DebridItaliaCom(MultiHoster): __name__ = "DebridItaliaCom" __version__ = "0.07" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to standard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __description__ = """Debriditalia.com hook plugin""" __author_name__ = "stickell" diff --git a/pyload/plugins/addons/DownloadScheduler.py b/pyload/plugins/addons/DownloadScheduler.py index 4049d71c5..0104ab7c9 100644 --- a/pyload/plugins/addons/DownloadScheduler.py +++ b/pyload/plugins/addons/DownloadScheduler.py @@ -26,10 +26,10 @@ class DownloadScheduler(Hook): __name__ = "DownloadScheduler" __version__ = "0.21" __description__ = """Download Scheduler""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("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")] + ("abort", "bool", "Abort active downloads when start period with speed 0", False)] __author_name__ = ("zoidberg", "stickell") __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it") diff --git a/pyload/plugins/addons/EasybytezCom.py b/pyload/plugins/addons/EasybytezCom.py index 2228973e4..a3a2dcb92 100644 --- a/pyload/plugins/addons/EasybytezCom.py +++ b/pyload/plugins/addons/EasybytezCom.py @@ -9,7 +9,7 @@ class EasybytezCom(MultiHoster): __name__ = "EasybytezCom" __version__ = "0.03" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", "")] __description__ = """EasyBytez.com hook plugin""" diff --git a/pyload/plugins/addons/Ev0InFetcher.py b/pyload/plugins/addons/Ev0InFetcher.py index 674cc07a8..8eda397ac 100644 --- a/pyload/plugins/addons/Ev0InFetcher.py +++ b/pyload/plugins/addons/Ev0InFetcher.py @@ -25,8 +25,8 @@ class Ev0InFetcher(Hook): __name__ = "Ev0InFetcher" __version__ = "0.21" __description__ = """Checks rss feeds for Ev0.in""" - __config__ = [("activated", "bool", "Activated", "False"), - ("interval", "int", "Check interval in minutes", "10"), + __config__ = [("activated", "bool", "Activated", False), + ("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", "xvid;x264;rmvb", "Video Format", "xvid"), diff --git a/pyload/plugins/addons/ExpertDecoders.py b/pyload/plugins/addons/ExpertDecoders.py index e2dfe9349..2cd8cb004 100644 --- a/pyload/plugins/addons/ExpertDecoders.py +++ b/pyload/plugins/addons/ExpertDecoders.py @@ -34,7 +34,7 @@ class ExpertDecoders(Hook): __description__ = """Send captchas to expertdecoders.com""" __config__ = [("activated", "bool", "Activated", False), ("force", "bool", "Force CT even if client is connected", False), - ("passkey", "password", "Access key", ""), ] + ("passkey", "password", "Access key", "")] __author_name__ = ("RaNaN", "zoidberg") __author_mail__ = ("RaNaN@pyload.org", "zoidberg@mujmail.cz") diff --git a/pyload/plugins/addons/ExternalScripts.py b/pyload/plugins/addons/ExternalScripts.py index 2a95a7af0..46c2e5e70 100644 --- a/pyload/plugins/addons/ExternalScripts.py +++ b/pyload/plugins/addons/ExternalScripts.py @@ -31,7 +31,7 @@ class ExternalScripts(Addon): __name__ = "ExternalScripts" __version__ = "0.23" __description__ = """Run external scripts""" - __config__ = [("activated", "bool", "Activated", "True")] + __config__ = [("activated", "bool", "Activated", True)] __author_name__ = ("mkaay", "RaNaN", "spoob") __author_mail__ = ("mkaay@mkaay.de", "ranan@pyload.org", "spoob@pyload.org") diff --git a/pyload/plugins/addons/FastixRu.py b/pyload/plugins/addons/FastixRu.py index 96d35e390..558da1b86 100644 --- a/pyload/plugins/addons/FastixRu.py +++ b/pyload/plugins/addons/FastixRu.py @@ -11,10 +11,10 @@ class FastixRu(MultiHoster): __name__ = "FastixRu" __version__ = "0.02" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), - ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to standard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __description__ = """Fastix.ru hook plugin""" __author_name__ = "Massimo Rosamilia" __author_mail__ = "max@spiritix.eu" diff --git a/pyload/plugins/addons/HotFolder.py b/pyload/plugins/addons/HotFolder.py index 46010b2a7..82c054902 100644 --- a/pyload/plugins/addons/HotFolder.py +++ b/pyload/plugins/addons/HotFolder.py @@ -33,10 +33,10 @@ class HotFolder(Hook): __name__ = "HotFolder" __version__ = "0.11" __description__ = """Observe folder and file for changes and add container and links""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("folder", "str", "Folder to observe", "container"), - ("watch_file", "bool", "Observe link file", "False"), - ("keep", "bool", "Keep added containers", "True"), + ("watch_file", "bool", "Observe link file", False), + ("keep", "bool", "Keep added containers", True), ("file", "str", "Link file", "links.txt")] __threaded__ = [] __author_name__ = "RaNaN" diff --git a/pyload/plugins/addons/IRCInterface.py b/pyload/plugins/addons/IRCInterface.py index 2e26fee1d..683e6208e 100644 --- a/pyload/plugins/addons/IRCInterface.py +++ b/pyload/plugins/addons/IRCInterface.py @@ -38,16 +38,16 @@ class IRCInterface(Thread, Addon): __name__ = "IRCInterface" __version__ = "0.11" __description__ = """Connect to irc and let owner perform different tasks""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("host", "str", "IRC-Server Address", "Enter your server here!"), - ("port", "int", "IRC-Server Port", "6667"), + ("port", "int", "IRC-Server Port", 6667), ("ident", "str", "Clients ident", "pyload-irc"), ("realname", "str", "Realname", "pyload-irc"), ("nick", "str", "Nickname the Client will take", "pyLoad-IRC"), ("owner", "str", "Nickname the Client will accept commands from", "Enter your nick here!"), - ("info_file", "bool", "Inform about every file finished", "False"), - ("info_pack", "bool", "Inform about every package finished", "True"), - ("captcha", "bool", "Send captcha requests", "True")] + ("info_file", "bool", "Inform about every file finished", False), + ("info_pack", "bool", "Inform about every package finished", True), + ("captcha", "bool", "Send captcha requests", True)] __author_name__ = "Jeix" __author_mail__ = "Jeix@hasnomail.com" diff --git a/pyload/plugins/addons/LinkdecrypterCom.py b/pyload/plugins/addons/LinkdecrypterCom.py index 8918135a1..c0bf6644f 100644 --- a/pyload/plugins/addons/LinkdecrypterCom.py +++ b/pyload/plugins/addons/LinkdecrypterCom.py @@ -27,7 +27,7 @@ class LinkdecrypterCom(Hook): __name__ = "LinkdecrypterCom" __version__ = "0.19" __description__ = """Linkdecrypter.com hook plugin""" - __config__ = [("activated", "bool", "Activated", "False")] + __config__ = [("activated", "bool", "Activated", False)] __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" diff --git a/pyload/plugins/addons/MergeFiles.py b/pyload/plugins/addons/MergeFiles.py index 770a47060..687017a4b 100644 --- a/pyload/plugins/addons/MergeFiles.py +++ b/pyload/plugins/addons/MergeFiles.py @@ -32,7 +32,7 @@ class MergeFiles(Hook): __name__ = "MergeFiles" __version__ = "0.12" __description__ = """Merges parts splitted with hjsplit""" - __config__ = [("activated", "bool", "Activated", "False")] + __config__ = [("activated", "bool", "Activated", False)] __threaded__ = ["packageFinished"] __author_name__ = "and9000" __author_mail__ = "me@has-no-mail.com" diff --git a/pyload/plugins/addons/MultiHome.py b/pyload/plugins/addons/MultiHome.py index d662ff7af..67be26b79 100644 --- a/pyload/plugins/addons/MultiHome.py +++ b/pyload/plugins/addons/MultiHome.py @@ -26,7 +26,7 @@ class MultiHome(Hook): __name__ = "MultiHome" __version__ = "0.11" __description__ = """Ip address changer""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("interfaces", "str", "Interfaces", "None")] __author_name__ = "mkaay" __author_mail__ = "mkaay@mkaay.de" diff --git a/pyload/plugins/addons/MultishareCz.py b/pyload/plugins/addons/MultishareCz.py index 75a6fd6a0..0291738f5 100644 --- a/pyload/plugins/addons/MultishareCz.py +++ b/pyload/plugins/addons/MultishareCz.py @@ -10,7 +10,7 @@ class MultishareCz(MultiHoster): __name__ = "MultishareCz" __version__ = "0.04" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", "uloz.to")] __description__ = """MultiShare.cz hook plugin""" diff --git a/pyload/plugins/addons/Premium4Me.py b/pyload/plugins/addons/Premium4Me.py index 4bcc79b25..57b188bb9 100644 --- a/pyload/plugins/addons/Premium4Me.py +++ b/pyload/plugins/addons/Premium4Me.py @@ -9,7 +9,7 @@ class Premium4Me(MultiHoster): __version__ = "0.03" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for downloads from supported hosters:", "all"), ("hosterList", "str", "Hoster list (comma separated)", "")] __description__ = """Premium.to hook plugin""" diff --git a/pyload/plugins/addons/PremiumizeMe.py b/pyload/plugins/addons/PremiumizeMe.py index 1c285bad8..d5b75922b 100644 --- a/pyload/plugins/addons/PremiumizeMe.py +++ b/pyload/plugins/addons/PremiumizeMe.py @@ -10,11 +10,11 @@ class PremiumizeMe(MultiHoster): __type__ = "hook" __description__ = """Premiumize.me hook plugin""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __author_name__ = "Florian Franzen" __author_mail__ = "FlorianFranzen@gmail.com" diff --git a/pyload/plugins/addons/RPNetBiz.py b/pyload/plugins/addons/RPNetBiz.py index e705eb23e..d40893f6a 100644 --- a/pyload/plugins/addons/RPNetBiz.py +++ b/pyload/plugins/addons/RPNetBiz.py @@ -8,11 +8,11 @@ class RPNetBiz(MultiHoster): __version__ = "0.1" __type__ = "hook" __description__ = """RPNet.biz hook plugin""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __author_name__ = "Dman" __author_mail__ = "dmanugm@gmail.com" diff --git a/pyload/plugins/addons/RealdebridCom.py b/pyload/plugins/addons/RealdebridCom.py index a77fac096..566f9005f 100644 --- a/pyload/plugins/addons/RealdebridCom.py +++ b/pyload/plugins/addons/RealdebridCom.py @@ -9,12 +9,12 @@ class RealdebridCom(MultiHoster): __version__ = "0.43" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), - ("https", "bool", "Enable HTTPS", "False"), + __config__ = [("activated", "bool", "Activated", False), + ("https", "bool", "Enable HTTPS", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __description__ = """Real-Debrid.com hook plugin""" __author_name__ = "Devirex Hazzard" __author_mail__ = "naibaf_11@yahoo.de" diff --git a/pyload/plugins/addons/RehostTo.py b/pyload/plugins/addons/RehostTo.py index 52e266b02..6c3a77ca3 100644 --- a/pyload/plugins/addons/RehostTo.py +++ b/pyload/plugins/addons/RehostTo.py @@ -9,11 +9,11 @@ class RehostTo(MultiHoster): __version__ = "0.43" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __description__ = """Rehost.to hook plugin""" __author_name__ = "RaNaN" diff --git a/pyload/plugins/addons/ReloadCc.py b/pyload/plugins/addons/ReloadCc.py index c4b805d70..f788fbe4a 100644 --- a/pyload/plugins/addons/ReloadCc.py +++ b/pyload/plugins/addons/ReloadCc.py @@ -10,7 +10,7 @@ class ReloadCc(MultiHoster): __type__ = "hook" __description__ = """Reload.cc hook plugin""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", "")] diff --git a/pyload/plugins/addons/RestartFailed.py b/pyload/plugins/addons/RestartFailed.py index 9ae920911..d3895634b 100644 --- a/pyload/plugins/addons/RestartFailed.py +++ b/pyload/plugins/addons/RestartFailed.py @@ -24,8 +24,8 @@ class RestartFailed(Hook): __name__ = "RestartFailed" __version__ = "1.53" __description__ = """Periodically restart all failed downloads in queue""" - __config__ = [("activated", "bool", "Activated", "False"), - ("interval", "int", "Interval in minutes", "90")] + __config__ = [("activated", "bool", "Activated", False), + ("interval", "int", "Interval in minutes", 90)] __author_name__ = "Walter Purcaro" __author_mail__ = "vuolter@gmail.com" diff --git a/pyload/plugins/addons/SimplydebridCom.py b/pyload/plugins/addons/SimplydebridCom.py index 71f003ce9..a523d2404 100644 --- a/pyload/plugins/addons/SimplydebridCom.py +++ b/pyload/plugins/addons/SimplydebridCom.py @@ -8,7 +8,7 @@ class SimplydebridCom(MultiHoster): __name__ = "SimplydebridCom" __version__ = "0.01" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", "")] __description__ = """Simply-Debrid.com hook plugin""" diff --git a/pyload/plugins/addons/UnSkipOnFail.py b/pyload/plugins/addons/UnSkipOnFail.py index 3d6566a18..af6039ecd 100644 --- a/pyload/plugins/addons/UnSkipOnFail.py +++ b/pyload/plugins/addons/UnSkipOnFail.py @@ -27,7 +27,7 @@ class UnSkipOnFail(Hook): __name__ = 'UnSkipOnFail' __version__ = '0.01' __description__ = """When a download fails, restart skipped duplicates""" - __config__ = [('activated', 'bool', 'Activated', True), ] + __config__ = [("activated", "bool", "Activated", True)] __author_name__ = "hagg" __author_mail__ = "" diff --git a/pyload/plugins/addons/UpdateManager.py b/pyload/plugins/addons/UpdateManager.py index 381b38486..11e93c04d 100644 --- a/pyload/plugins/addons/UpdateManager.py +++ b/pyload/plugins/addons/UpdateManager.py @@ -32,8 +32,8 @@ class UpdateManager(Hook): __name__ = "UpdateManager" __version__ = "0.15" __description__ = """Checks for updates""" - __config__ = [("activated", "bool", "Activated", "True"), - ("interval", "int", "Check interval in minutes", "480"), + __config__ = [("activated", "bool", "Activated", True), + ("interval", "int", "Check interval in minutes", 480), ("debug", "bool", "Check for plugin changes when in debug mode", False)] __author_name__ = "RaNaN" __author_mail__ = "ranan@pyload.org" diff --git a/pyload/plugins/addons/WindowsPhoneToastNotify.py b/pyload/plugins/addons/WindowsPhoneToastNotify.py index 1fce9f2cf..d90b95f79 100644 --- a/pyload/plugins/addons/WindowsPhoneToastNotify.py +++ b/pyload/plugins/addons/WindowsPhoneToastNotify.py @@ -27,8 +27,8 @@ class WindowsPhoneToastNotify(Hook): __config__ = [("activated", "bool", "Activated", False), ("force", "bool", "Force even if client is connected", False), ("pushId", "str", "pushId", ""), - ("pushUrl","str","pushUrl", ""), - ("pushTimeout","int","Timeout between notifications in seconds","0")] + ("pushUrl", "str", "pushUrl", ""), + ("pushTimeout", "int", "Timeout between notifications in seconds", 0)] def setup(self): self.info = {} diff --git a/pyload/plugins/addons/XFileSharingPro.py b/pyload/plugins/addons/XFileSharingPro.py index a1ef84be6..b30b24aa7 100644 --- a/pyload/plugins/addons/XFileSharingPro.py +++ b/pyload/plugins/addons/XFileSharingPro.py @@ -9,8 +9,8 @@ class XFileSharingPro(Hook): __name__ = "XFileSharingPro" __version__ = "0.09" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "True"), - ("loadDefault", "bool", "Include default (built-in) hoster list", "True"), + __config__ = [("activated", "bool", "Activated", True), + ("loadDefault", "bool", "Include default (built-in) hoster list", True), ("includeList", "str", "Include hosters (comma separated)", ""), ("excludeList", "str", "Exclude hosters (comma separated)", "")] __description__ = """XFileSharingPro hook plugin""" diff --git a/pyload/plugins/addons/XMPPInterface.py b/pyload/plugins/addons/XMPPInterface.py index fc38bd2e4..5ecf4e153 100644 --- a/pyload/plugins/addons/XMPPInterface.py +++ b/pyload/plugins/addons/XMPPInterface.py @@ -31,14 +31,14 @@ class XMPPInterface(IRCInterface, JabberClient): __name__ = "XMPPInterface" __version__ = "0.11" __description__ = """Connect to jabber and let owner perform different tasks""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("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"), - ("info_file", "bool", "Inform about every file finished", "False"), - ("info_pack", "bool", "Inform about every package finished", "True"), - ("captcha", "bool", "Send captcha requests", "True")] + ("info_file", "bool", "Inform about every file finished", False), + ("info_pack", "bool", "Inform about every package finished", True), + ("captcha", "bool", "Send captcha requests", True)] __author_name__ = "RaNaN" __author_mail__ = "RaNaN@pyload.org" diff --git a/pyload/plugins/addons/ZeveraCom.py b/pyload/plugins/addons/ZeveraCom.py index 5fbf20b56..4dee83ccb 100644 --- a/pyload/plugins/addons/ZeveraCom.py +++ b/pyload/plugins/addons/ZeveraCom.py @@ -8,7 +8,7 @@ class ZeveraCom(MultiHoster): __name__ = "ZeveraCom" __version__ = "0.02" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", "")] __description__ = """Real-Debrid.com hook plugin""" diff --git a/pyload/plugins/crypter/SerienjunkiesOrg.py b/pyload/plugins/crypter/SerienjunkiesOrg.py index 177a83eda..b8e492baa 100644 --- a/pyload/plugins/crypter/SerienjunkiesOrg.py +++ b/pyload/plugins/crypter/SerienjunkiesOrg.py @@ -15,16 +15,14 @@ class SerienjunkiesOrg(Crypter): __type__ = "crypter" __pattern__ = r"http://.*?(serienjunkies.org|dokujunkies.org)/.*?" __version__ = "0.39" - __config__ = [ - ("changeNameSJ", "Packagename;Show;Season;Format;Episode", "Take SJ.org name", "Show"), - ("changeNameDJ", "Packagename;Show;Format;Episode", "Take DJ.org name", "Show"), - ("randomPreferred", "bool", "Randomize Preferred-List", False), - ("hosterListMode", "OnlyOne;OnlyPreferred(One);OnlyPreferred(All);All", - "Use for hosters (if supported)", "All"), - ("hosterList", "str", "Preferred Hoster list (comma separated)", - "RapidshareCom,UploadedTo,NetloadIn,FilefactoryCom,FreakshareNet,FilebaseTo,HotfileCom,DepositfilesCom,EasyshareCom,KickloadCom"), - ("ignoreList", "str", "Ignored Hoster list (comma separated)", "MegauploadCom") - ] + __config__ = [("changeNameSJ", "Packagename;Show;Season;Format;Episode", "Take SJ.org name", "Show"), + ("changeNameDJ", "Packagename;Show;Format;Episode", "Take DJ.org name", "Show"), + ("randomPreferred", "bool", "Randomize Preferred-List", False), + ("hosterListMode", "OnlyOne;OnlyPreferred(One);OnlyPreferred(All);All", + "Use for hosters (if supported)", "All"), + ("hosterList", "str", "Preferred Hoster list (comma separated)", + "RapidshareCom,UploadedTo,NetloadIn,FilefactoryCom,FreakshareNet,FilebaseTo,HotfileCom,DepositfilesCom,EasyshareCom,KickloadCom"), + ("ignoreList", "str", "Ignored Hoster list (comma separated)", "MegauploadCom")] __description__ = """Serienjunkies.org decrypter plugin""" __author_name__ = ("mkaay", "godofdream") __author_mail__ = ("mkaay@mkaay.de", "soilfiction@gmail.com") diff --git a/pyload/plugins/crypter/YoutubeBatch.py b/pyload/plugins/crypter/YoutubeBatch.py index ce2769fe0..3c5415b3e 100644 --- a/pyload/plugins/crypter/YoutubeBatch.py +++ b/pyload/plugins/crypter/YoutubeBatch.py @@ -33,9 +33,9 @@ class YoutubeBatch(Crypter): __pattern__ = r"https?://(?:www\.)?(m\.)?youtube\.com/(?P<TYPE>user|playlist|view_play_list)(/|.*?[?&](?:list|p)=)(?P<ID>[\w-]+)" __version__ = "1.00" __description__ = """Youtube.com channel & playlist decrypter plugin""" - __config__ = [("likes", "bool", "Grab user (channel) liked videos", "False"), - ("favorites", "bool", "Grab user (channel) favorite videos", "False"), - ("uploads", "bool", "Grab channel unplaylisted videos", "True")] + __config__ = [("likes", "bool", "Grab user (channel) liked videos", False), + ("favorites", "bool", "Grab user (channel) favorite videos", False), + ("uploads", "bool", "Grab channel unplaylisted videos", True)] __author_name__ = "Walter Purcaro" __author_mail__ = "vuolter@gmail.com" diff --git a/pyload/plugins/hoster/RapidshareCom.py b/pyload/plugins/hoster/RapidshareCom.py index c0276279e..e9735832b 100644 --- a/pyload/plugins/hoster/RapidshareCom.py +++ b/pyload/plugins/hoster/RapidshareCom.py @@ -55,9 +55,9 @@ class RapidshareCom(Hoster): __pattern__ = r"https?://[\w\.]*?rapidshare.com/(?:files/(?P<id>\d*?)/(?P<name>[^?]+)|#!download\|(?:\w+)\|(?P<id_new>\d+)\|(?P<name_new>[^|]+))" __version__ = "1.39" __description__ = """Rapidshare.com hoster plugin""" - __config__ = [["server", + __config__ = [("server", "Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera", - "Preferred Server", "None"]] + "Preferred Server", "None")] __author_name__ = ("spoob", "RaNaN", "mkaay") __author_mail__ = ("spoob@pyload.org", "ranan@pyload.org", "mkaay@mkaay.de") diff --git a/pyload/plugins/hoster/VeehdCom.py b/pyload/plugins/hoster/VeehdCom.py index 8a4433fa4..b3523491a 100644 --- a/pyload/plugins/hoster/VeehdCom.py +++ b/pyload/plugins/hoster/VeehdCom.py @@ -8,10 +8,8 @@ class VeehdCom(Hoster): __name__ = 'VeehdCom' __type__ = 'hoster' __pattern__ = r'http://veehd\.com/video/\d+_\S+' - __config__ = [ - ('filename_spaces', 'bool', "Allow spaces in filename", 'False'), - ('replacement_char', 'str', "Filename replacement character", '_'), - ] + __config__ = [("filename_spaces", "bool", "Allow spaces in filename", False), + ("replacement_char", "str", "Filename replacement character", "_")] __version__ = '0.23' __description__ = """Veehd.com hoster plugin""" __author_name__ = "cat" diff --git a/pyload/plugins/hoster/XVideosCom.py b/pyload/plugins/hoster/XVideosCom.py index 48a1f934d..902f627a8 100644 --- a/pyload/plugins/hoster/XVideosCom.py +++ b/pyload/plugins/hoster/XVideosCom.py @@ -8,7 +8,9 @@ class XVideosCom(Hoster): __name__ = "XVideos.com" __version__ = "0.1" __pattern__ = r"http://www\.xvideos\.com/video([0-9]+)/.*" - __config__ = [] + __description__ = """XVideos.com hoster plugin""" + __author_name__ = "" + __author_mail__ = "" def process(self, pyfile): site = self.load(pyfile.url) diff --git a/pyload/plugins/hoster/Xdcc.py b/pyload/plugins/hoster/Xdcc.py index e1c423453..43f0dd656 100644 --- a/pyload/plugins/hoster/Xdcc.py +++ b/pyload/plugins/hoster/Xdcc.py @@ -36,11 +36,9 @@ class Xdcc(Hoster): __version__ = "0.32" __pattern__ = r'xdcc://.*?(/#?.*?)?/.*?/#?\d+/?' # xdcc://irc.Abjects.net/#channel/[XDCC]|Shit/#0004/ __type__ = "hoster" - __config__ = [ - ("nick", "str", "Nickname", "pyload"), - ("ident", "str", "Ident", "pyloadident"), - ("realname", "str", "Realname", "pyloadreal") - ] + __config__ = [("nick", "str", "Nickname", "pyload"), + ("ident", "str", "Ident", "pyloadident"), + ("realname", "str", "Realname", "pyloadreal")] __description__ = """Download from IRC XDCC bot""" __author_name__ = "jeix" __author_mail__ = "jeix@hasnomail.com" diff --git a/pyload/plugins/hoster/ZDF.py b/pyload/plugins/hoster/ZDF.py index e45717186..18aa80a00 100644 --- a/pyload/plugins/hoster/ZDF.py +++ b/pyload/plugins/hoster/ZDF.py @@ -12,7 +12,9 @@ class ZDF(Hoster): __name__ = "ZDF Mediathek" __version__ = "0.8" __pattern__ = r"http://www\.zdf\.de/ZDFmediathek/[^0-9]*([0-9]+)[^0-9]*" - __config__ = [] + __description__ = """ZDF.de hoster plugin""" + __author_name__ = "" + __author_mail__ = "" @staticmethod def video_key(video): |