summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Pedro Algarvio <pedro@algarvio.me> 2012-02-05 12:00:31 +0100
committerGravatar Pedro Algarvio <pedro@algarvio.me> 2012-02-05 12:00:31 +0100
commite8a0cc2daf8cf5b0ad6d1faee53cd5551fa6dfaa (patch)
treecbf4f57660add66574bc0fceed7c0cd8852fff64 /module
parentStop Real-Debrid from returning streaming responses instead of file downloads. (diff)
downloadpyload-e8a0cc2daf8cf5b0ad6d1faee53cd5551fa6dfaa.tar.xz
Fix missing error message.
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/RealdebridCom.py5
-rw-r--r--module/web/media/js/package_ui.js1
2 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index 5759838e2..d1f87f3dd 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -11,7 +11,7 @@ from module.common.json_layer import json_loads
from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
- __version__ = "0.42"
+ __version__ = "0.43"
__pattern__ = r"https?://.*real-debrid\..*"
__description__ = """Real-Debrid.com hoster plugin"""
__config__ = [("https", "bool", _("Enable HTTPS"), False)]
@@ -59,6 +59,9 @@ class RealdebridCom(Hoster):
elif data["message"] == "File's hoster is in maintenance. Try again later.":
self.logWarning(data["message"])
self.tempOffline()
+ elif data["message"] == "No server is available for this hoster.":
+ self.logWarning(data["message"])
+ self.tempOffline()
else:
self.logError(page)
else:
diff --git a/module/web/media/js/package_ui.js b/module/web/media/js/package_ui.js
index 3ea965649..5b329b37a 100644
--- a/module/web/media/js/package_ui.js
+++ b/module/web/media/js/package_ui.js
@@ -203,6 +203,7 @@ var Package = new Class({
html += "<span class='child_status'>{statusmsg}</span>{error}&nbsp;".substitute({"statusmsg": link.statusmsg, "error":link.error});
html += "<span class='child_status'>{format_size}</span>".substitute({"format_size": link.format_size});
html += "<span class='child_status'>{plugin}</span>&nbsp;&nbsp;".substitute({"plugin": link.plugin});
+ html += "<span class='child_status'>{url}</span>&nbsp;&nbsp;".substitute({"url": link.url});
html += "<img title='{{_("Delete Link")}}' style='cursor: pointer;' width='10px' height='10px' src='/media/default/img/delete.png' />&nbsp;&nbsp;";
html += "<img title='{{_("Restart Link")}}' style='cursor: pointer;margin-left: -4px' width='10px' height='10px' src='/media/default/img/arrow_refresh.png' /></div>";