summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-08 22:28:35 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-08 22:28:35 +0200
commit139722a9355947f8e0696f46e3bb97c239514a37 (patch)
treeb6288fbdb6108d6f43894673b86fef65995bb317 /module/plugins/hooks
parentfix rapidgator.net (diff)
downloadpyload-139722a9355947f8e0696f46e3bb97c239514a37.tar.xz
filebeer workaround, rehost.to chunklimit, multihoster config
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/AlldebridCom.py6
-rw-r--r--module/plugins/hooks/PremiumizeMe.py8
-rw-r--r--module/plugins/hooks/RealdebridCom.py6
-rw-r--r--module/plugins/hooks/RehostTo.py10
4 files changed, 19 insertions, 11 deletions
diff --git a/module/plugins/hooks/AlldebridCom.py b/module/plugins/hooks/AlldebridCom.py
index 91a0a6e5b..6818b8c43 100644
--- a/module/plugins/hooks/AlldebridCom.py
+++ b/module/plugins/hooks/AlldebridCom.py
@@ -7,13 +7,15 @@ from module.plugins.internal.MultiHoster import MultiHoster
class AlldebridCom(MultiHoster):
__name__ = "AlldebridCom"
- __version__ = "0.12"
+ __version__ = "0.13"
__type__ = "hook"
__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)", "")]
+ ("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")]
__description__ = """Real-Debrid.com hook plugin"""
__author_name__ = ("Andy, Voigt")
diff --git a/module/plugins/hooks/PremiumizeMe.py b/module/plugins/hooks/PremiumizeMe.py
index 37905c23e..a10c24f85 100644
--- a/module/plugins/hooks/PremiumizeMe.py
+++ b/module/plugins/hooks/PremiumizeMe.py
@@ -5,18 +5,18 @@ from module.network.RequestFactory import getURL
class PremiumizeMe(MultiHoster):
__name__ = "PremiumizeMe"
- __version__ = "0.11"
+ __version__ = "0.12"
__type__ = "hook"
__description__ = """Premiumize.Me hook plugin"""
__config__ = [("activated", "bool", "Activated", "False"),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
- ("hosterList", "str", "Hoster list (comma separated)", "")]
+ ("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")]
__author_name__ = ("Florian Franzen")
__author_mail__ = ("FlorianFranzen@gmail.com")
-
- interval = 0 # Disable periodic calls, we dont use them anyway
def getHoster(self):
# If no accounts are available there will be no hosters available
diff --git a/module/plugins/hooks/RealdebridCom.py b/module/plugins/hooks/RealdebridCom.py
index 0f06d14bc..be74b47c3 100644
--- a/module/plugins/hooks/RealdebridCom.py
+++ b/module/plugins/hooks/RealdebridCom.py
@@ -5,13 +5,15 @@ from module.plugins.internal.MultiHoster import MultiHoster
class RealdebridCom(MultiHoster):
__name__ = "RealdebridCom"
- __version__ = "0.42"
+ __version__ = "0.43"
__type__ = "hook"
__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)", "")]
+ ("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")]
__description__ = """Real-Debrid.com hook plugin"""
__author_name__ = ("Devirex, Hazzard")
__author_mail__ = ("naibaf_11@yahoo.de")
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index 8903bd07f..7ca5e5cde 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -5,10 +5,14 @@ from module.plugins.internal.MultiHoster import MultiHoster
class RehostTo(MultiHoster):
__name__ = "RehostTo"
- __version__ = "0.41"
+ __version__ = "0.42"
__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")]
__description__ = """rehost.to hook plugin"""
__author_name__ = ("RaNaN")
@@ -34,4 +38,4 @@ class RehostTo(MultiHoster):
self.ses = data["ses"]
self.long_ses = data["long_ses"]
- return MultiHoster.coreReady(self)
+ return MultiHoster.coreReady(self) \ No newline at end of file