From ab0507d21a1428b34271158207efb55e11d16632 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Tue, 11 Oct 2016 07:27:29 +0200 Subject: Removed delay for first time after error added with last fix --- javascript/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript') diff --git a/javascript/main.js b/javascript/main.js index 3a0858e..7883c79 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -3599,7 +3599,7 @@ function MPD(ev) { if (MPDListener == 0) { if (ev.state == 6 ) { if (ev.reason == "CommandClose" && ErrorAgain == 0) { - initialDelayPlayID = setTimeout("mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",TryingInterval); + setTimeout("mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",initialDelayPlay); ErrorAgain = 1; } else if (KeepTrying) { ErrorAgain = 0; -- cgit v1.2.3