From dcff3e34b84d6a0fcde03e352c26f0ed31d45c67 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sat, 7 Jun 2014 01:22:22 +0200 Subject: Still some times error, so delay is now 500 msec within 5 seconds after zap --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index dd41d12..678fd65 100644 --- a/index.html +++ b/index.html @@ -461,8 +461,8 @@ function play(uri) { URL = uri; initialDelayPlayID = setTimeout("mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",initialDelayPlay); - initialDelayPlay = 300; // wait 300 ms before zap to next channel - PlayDelayID = setTimeout("initialDelayPlay = 0;",1500); + initialDelayPlay = 500; // wait 500 ms before zap to next channel + PlayDelayID = setTimeout("initialDelayPlay = 0;",5000); SetLed(1,1,0); if(isFullscreen) { showOSD(); } @@ -3924,7 +3924,7 @@ try { option = Number(option); if (RecCmds[option] > -1 ) { var xmlhttp = new XMLHttpRequest(); - xmlhttp.open("POST", server_ip + recServ + "/execreccmd?cmd=" + RecCmds[option] + "&guid=" + recGUID[currMed], false); + xmlhttp.open("POST", server_ip + recServ + "/execreccmd?cmd=" + RecCmds[option] + "&guid=\"" + recGUID[currMed] + "\"", false); xmlhttp.send(); recList[currMed] = RecCmdsIcon[option] + recList[currMed].substring(1); showMediaList(); -- cgit v1.2.3