summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html6
-rw-r--r--settings.js1
2 files changed, 5 insertions, 2 deletions
diff --git a/index.html b/index.html
index 0f99c2a..bac656c 100644
--- a/index.html
+++ b/index.html
@@ -146,6 +146,7 @@ function GetSettings() {
if (!is.getObject("vip.serveraddress")) {}
} catch(e) {
is.setObject("vip.serveraddress","0",is.STORAGE_PERMANENT)
+ firstrun = 1;
}
try {
@@ -254,8 +255,10 @@ function GetSettings() {
for (var i = minChan[Fav_group]; i < (maxChan[Fav_group]+10); i++) {
EPG[0][4][i] = "";EPG[1][4][i] = "";EPG[0][5][i] = "";EPG[1][5][i] = "";EPG[0][7][i] = "";EPG[1][7][i] = "";AvInfo[i] = "";
}
- //Check if there is a SmartTV or Restfulapi VDR server plugin
+ //Check if there is a SmartTV or Restfulapi VDR server plugin but not on first run.
+ if (!firstrun) {
CheckPlugins();
+ }
// override check for testing :
// smartTVplugin = 0 ;
// Restfulapiplugin = 1;
@@ -4398,7 +4401,6 @@ function MakeRecList_sublevel(GroupID) {
}
if ((recProt[i] == 1) && (ShowProtectedChannels == 1)) { recList[i] = "";}
if (recList[i] != "") { MaxInGroup = MaxInGroup + 1; }
- alert (MaxInGroup);
x = recTitl[i][1];
}
}
diff --git a/settings.js b/settings.js
index e1c6b5a..f46f15a 100644
--- a/settings.js
+++ b/settings.js
@@ -358,3 +358,4 @@ var PIPDelayID;
var ErrorAgain = 0;
var smartTVplugin; // Turn on or off the use of smartTVplugin
var Restfulapiplugin; // Turn on or off the use of Restfulapiplugin
+var firstrun = 0;// First time run or settings are cleaned.