Quote:
Originally Posted by mgpai
@Jiaz: Thanks for the reply.
@thecoder2012: Thanks for the response. Good to see you found a nice solution to your problem.
|
Next question. I have the PluginException.LinkStatus.ERROR_RETRY,
PluginException.LinkStatus.ERROR_IP_BLOCKED,
PluginException.LinkStatus.ERROR_HOSTER_TEMPORARILY_UNAVAILABLE or
PluginException.LinkStatus.ERROR_TEMPORARILY_UNAVAILABLE in the hoster-/downloadplugin (e.g. shareonline) but in the Event Scripter is "getStatus()"+"getSkippedReason()"+"getFinalLinkStatus()" only "null", why?
getEta() has the (retry or maintenance) time or "-1" with IP_BLOCKED.
I have no problem with ERROR_FATAL, ERROR_PLUGIN_DEFECT, ERROR_CAPTCHA and ERROR_FILE_NOT_FOUND in the Event Scripter.
Code Example:
Code:
var links = getAllDownloadLinks();
for (i = 0; i < links.length; i++) {
var link = links[i];
alert(link.getEta() + " 1:" + link.getStatus() + " 2:" + link.getSkippedReason() + " 3:" + link.getFinalLinkStatus());
}