summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.html b/index.html
index 678fd65..9c83c27 100644
--- a/index.html
+++ b/index.html
@@ -427,6 +427,7 @@ try {
if (pipPlayer.getState() != pipPlayer.STATE_IDLE) {
pipPlayer.close();
}
+ if (PIPDelayID != -1) { clearTimeout(PIPDelayID); PIPDelayID = -1; }
if (ServerAdres[ChanGroup] == "MultiCast" ) {
SI=channels[currChan].split("-");
@@ -437,7 +438,7 @@ try {
uri = ServerAdres[ChanGroup] + uri;
}
pipPlayer.open(uri);
- setTimeout("pipPlayer.play(1000);", 500);
+ PIPDelayID = setTimeout("pipPlayer.play(1000);", 500);
} catch (e) {
alert("Failed opening PIP stream: " + e);
return;
@@ -3229,9 +3230,12 @@ function ShowSearchTimerInfo() {
// MPD Section
function MPD(ev) {
-// alert("Media player state changed: state=" + ev.state + ", reason=" + ev.reason); // + ", code=" + ev.code);
+// alert("Media player state changed: " + ev);
+// alert("Media player state changed: state=" + ev.state + ", reason=" + ev.reason + ", code=" + ev.code);
+// alert("Media player error :" + mediaPlayer.getError().details);
if (MPDListener == 0) {
if (ev.state == 6 ) {
+ alert("Media player state changed: state=" + ev.state + ", reason=" + ev.reason + ", code=" + ev.code);
showDisplay("ERRR", false, 100, 0 );
settimer(0,Lang[67],0,2);
}