From fc3b7edc25f05dc6127a2dc5948d1114a89117d2 Mon Sep 17 00:00:00 2001
From: "M. Voerman"
";
}
osdnr.innerHTML = "" + Right(channr,3) + "";
- alert(cssres[css_nr][Set_Res]);
+// alert(cssres[css_nr][Set_Res]);
}
function OSDhtml(){
@@ -2161,7 +2161,8 @@ function onKeyMenu(keyCode) {
timerID -= 1;
if (timerID < 0) { timerID = 0; }
}
- InitMenu(menu);
+ epg_unactive();
+ InitMenu(menu);
break;
case "Down":
if (menu == 2) {
@@ -2172,7 +2173,8 @@ function onKeyMenu(keyCode) {
timerID += 1;
if (timerID > (maxTimers - 1) && maxTimers !== 0) { timerID = maxTimers - 1; }
}
- InitMenu(menu);
+ epg_unactive();
+ InitMenu(menu);
break;
case KEY_OK:
if (menu == 2 && isMediaMenu !== 1) {
@@ -2216,7 +2218,7 @@ function onKeyMenu(keyCode) {
// Show more info Current SearchTimer
osdepginfo.style.opacity = 1 - osdepginfo.style.opacity;
osdepginfo.innerHTML = "" + "
"
- + searchtimersSearch[timerID] + Lang[0] + "
" - + SearchTimer[timerID] + "
"; + osdepginfo.innerHTML = SearchTimer[timerID]; osdepginfo.style.opacity = 1 - osdepginfo.style.opacity; } else if (menu == 10) { if (protChn[ChanGroup] !== 1 && ChanGroup !== Fav_group) { @@ -3114,9 +3115,10 @@ function ShowTimerInfo() { } else { info3 = Lang[37]; } - osdepginfo.innerHTML = "" + ""
- + Left(info1,60) + " " + timersDays[timerID] + " "
+ + timersStrt[timerID] + " - " + timersStop[timerID] + " " + info3 + "
" + timersDays[timerID] + " " +
- timersStrt[timerID] + " - " + timersStop[timerID] + "
"
+ osdepginfo.innerHTML = ""
+ + "" + Left(info1,60)
+ + "
"
+ info2 + "
" + Left(info4,750) + "
"; + SearchTimer[i] = "" + x[i].getElementsByTagName("search")[0].childNodes[0].nodeValue + "\n"; if ((x[i].getElementsByTagName("use_as_searchtimer")[0].childNodes[0].nodeValue) == 0) { SearchTimer[i] += "\uE003\uE016\uE003" + Lang[40] + "\n"; } else { @@ -3272,6 +3274,9 @@ if (MPDListener == 0) { if (ev.reason == "CommandClose" && ErrorAgain == 0) { setTimeout("mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",500); ErrorAgain = 1; + } else if (ev.reason == "CommandClose" && ErrorAgain == 1) { + setTimeout("mediaPlayer.open(URL);mediaPlayer.play(1000);GetEPG(currChan);ExtraStuff();",105000); + ErrorAgain = 2; } else { ErrorAgain = 0; alert("Media player state changed: state=" + ev.state + ", reason=" + ev.reason + ", code=" + ev.code); @@ -4928,7 +4933,8 @@ function ShowInfo() { if (year!==1970) { osdepginfo.innerHTML = "" - + "" + Left(recTitl[currMed],60) + + "
" + + Left(recTitl[currMed],60) + "
" + AvInfo[currMed] + "
" + result + "
" + (recDura[currMed] / 60).toFixed(0) + Lang[54] + "
" + recChan[currMed] @@ -4936,7 +4942,8 @@ function ShowInfo() { } else { //info for non-vdr recordings osdepginfo.innerHTML = "" - + "" + Left(recTitl[currMed],60) + + "
" + + Left(recTitl[currMed],60) + "
" + AvInfo[currMed] + " " + "
"; } } -- cgit v1.2.3