summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Config.js
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-08-27 22:08:08 +0200
committerthlo <t.lohmar@gmx.de>2013-08-27 22:08:08 +0200
commit68de2c4bdab84ae56ddad0db48c48b40f0ca536c (patch)
tree7884c091d5b94731781b1ff9be587b26c5131f0c /smarttv-client/Javascript/Config.js
parent685ba9d97e9ca4ef8f197c62e07a85cb0901be7a (diff)
downloadvdr-plugin-smarttvweb-68de2c4bdab84ae56ddad0db48c48b40f0ca536c.tar.gz
vdr-plugin-smarttvweb-68de2c4bdab84ae56ddad0db48c48b40f0ca536c.tar.bz2
New Overlay Menu for RecCmd Handling
Make YouTube entry optional (Select Screen option is configurable through widget.conf) First 3D iter function for 3D TVs and 3D BDs.
Diffstat (limited to 'smarttv-client/Javascript/Config.js')
-rwxr-xr-xsmarttv-client/Javascript/Config.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/smarttv-client/Javascript/Config.js b/smarttv-client/Javascript/Config.js
index 2d4cf52..e32b74a 100755
--- a/smarttv-client/Javascript/Config.js
+++ b/smarttv-client/Javascript/Config.js
@@ -340,6 +340,7 @@ function VdrServers() {
this.serverUrlList = [];
this.activeServers = [];
this.responses = 0;
+ this.retries = 0;
this.instanceName = "";
};
@@ -362,7 +363,13 @@ VdrServers.prototype.handleResponse = function () {
Main.log ("handle responses: Done. Active Servers= " + this.activeServers.length);
switch (this.activeServers.length) {
case 0:
- Display.showPopup("Please start your VDR server");
+ this.retries ++;
+ if (this.retries <2) {
+ this.checkServers();
+ }
+ else
+ Display.showPopup("Please start your VDR server");
+
break;
case 1:
Config.serverAddr = this.activeServers[0].addr;