From a5c195fe2b0e57198ad8468feb0bdb5940c1a014 Mon Sep 17 00:00:00 2001 From: Felipe Polo-Wood Date: Mon, 2 Dec 2013 13:53:32 -0500 Subject: [PATCH] Fixed timeout back to 500 ms Added ItemCapabilities to httprouter.py --- openlp/plugins/remotes/html/openlp.js | 2 +- openlp/plugins/remotes/lib/httprouter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index 86c10af07..448fbb269 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -398,5 +398,5 @@ $.ajaxSetup({cache: false}); $("#search").live("pageinit", function (event) { OpenLP.getSearchablePlugins(); }); -setInterval("OpenLP.pollServer();", 50000); +setInterval("OpenLP.pollServer();", 500); OpenLP.pollServer(); diff --git a/openlp/plugins/remotes/lib/httprouter.py b/openlp/plugins/remotes/lib/httprouter.py index 4c4b76bfc..801812ad7 100644 --- a/openlp/plugins/remotes/lib/httprouter.py +++ b/openlp/plugins/remotes/lib/httprouter.py @@ -125,7 +125,7 @@ from mako.template import Template from PyQt4 import QtCore from openlp.core.common import AppLocation, Settings, translate -from openlp.core.lib import Registry, PluginStatus, StringContent, image_to_byte +from openlp.core.lib import Registry, PluginStatus, StringContent, image_to_byte, ItemCapabilities log = logging.getLogger(__name__) FILE_TYPES = {