summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2015-03-28 14:39:31 +0100
committerM. Voerman <rekordc@gmail.com>2015-03-28 14:39:31 +0100
commitfbe9a8ff970937c9915fe6d6d8a5a079bb913e13 (patch)
treef252ef5824ca7f0f91c66dfa35621254c9484213
parent69fb5a5f82418af920e6f0e71fc120d1af7023a3 (diff)
downloadvdr-vipclient-fbe9a8ff970937c9915fe6d6d8a5a079bb913e13.tar.gz
vdr-vipclient-fbe9a8ff970937c9915fe6d6d8a5a079bb913e13.tar.bz2
added experimental option for reconnect routine
-rw-r--r--javascript/main.js12
-rw-r--r--javascript/settings.js2
2 files changed, 11 insertions, 3 deletions
diff --git a/javascript/main.js b/javascript/main.js
index 85023e5..3d25365 100644
--- a/javascript/main.js
+++ b/javascript/main.js
@@ -3519,7 +3519,11 @@ if (MPDListener == 0) {
ErrorAgain = 1;
} else if (KeepTrying) {
ErrorAgain = 0;
- settimer(0,Lang[63],0,2,color_error);
+ if (experimental) {
+ settimer(0,ev.reason,0,2,color_error);
+ } else {
+ settimer(0,Lang[63],0,2,color_error);
+ }
initialDelayPlayID = setTimeout("mediaPlayer.close();mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",TryingInterval);
} else {
ErrorAgain = 0;
@@ -3534,7 +3538,11 @@ if (MPDListener == 0) {
if (PromoChannel && currChan == PromoChannelNR) {
play(channels[PromoChannelNR]);
} else {
- settimer(0,Lang[63],0,2,color_error);
+ if (experimental) {
+ settimer(0,ev.reason,0,2,color_error);
+ } else {
+ settimer(0,Lang[63],0,2,color_error);
+ }
initialDelayPlayID = setTimeout("mediaPlayer.close();mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",TryingInterval);
}
}
diff --git a/javascript/settings.js b/javascript/settings.js
index 3d7b646..4654efe 100644
--- a/javascript/settings.js
+++ b/javascript/settings.js
@@ -2,7 +2,7 @@
// Default settings
//
-var Version = "0.27.5";
+var Version = "0.27.6";
//weather
var city = "Almelo";