summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MultiDebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/MultiDebridCom.py')
-rw-r--r--module/plugins/hooks/MultiDebridCom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hooks/MultiDebridCom.py b/module/plugins/hooks/MultiDebridCom.py
index f2dfb18ca..3309fb9a8 100644
--- a/module/plugins/hooks/MultiDebridCom.py
+++ b/module/plugins/hooks/MultiDebridCom.py
@@ -23,6 +23,7 @@ class MultiDebridCom(MultiHoster):
__name__ = "MultiDebridCom"
__version__ = "0.01"
__type__ = "hook"
+
__config__ = [("activated", "bool", "Activated", False),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
@@ -33,6 +34,7 @@ class MultiDebridCom(MultiHoster):
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
+
def getHoster(self):
json_data = getURL('http://multi-debrid.com/api.php?hosts', decode=True)
self.logDebug('JSON data: ' + json_data)