diff options
author | M. Voerman <rekordc@gmail.com> | 2012-12-13 20:01:04 +0100 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2012-12-13 20:01:04 +0100 |
commit | e7c1a5299dffde486b622bd7ab0cbfb08c3aa1a0 (patch) | |
tree | d61f3dd7291d3a81122b17af4398be1c855c12ee | |
parent | 09cd523c5f06ab474a6537541a1e4c5db3a694a0 (diff) | |
download | vdr-vipclient-e7c1a5299dffde486b622bd7ab0cbfb08c3aa1a0.tar.gz vdr-vipclient-e7c1a5299dffde486b622bd7ab0cbfb08c3aa1a0.tar.bz2 |
Small bugfixes.
-rw-r--r-- | History | 4 | ||||
-rw-r--r-- | index.html | 45 | ||||
-rw-r--r-- | settings.js | 6 |
3 files changed, 38 insertions, 17 deletions
@@ -1,4 +1,4 @@ -0.03 +0.03 Release date 2012/12/13 Try to fix Teletext crash. teletext start screen -> teletext/tv 50%/50% Fix bug in epg time left routine. @@ -9,7 +9,7 @@ switch timer reset from mainmenu. EPG language is now based on Satellite/ NID/ TID Added CA Mode to OSD key.png - Full schedule try. + Full schedule. In guide mode Red - switch timer next program, Green now/next, Yellow Schedule, Blue program info. Speed up OSD. (In fullscreen don't need to update channellist.) AudioOut can now be selected in settings.js @@ -25,7 +25,7 @@ // change IP server // -var Version = "0.03 2012/12/xx" +var Version = "0.03 2012/12/13" var nrChannels = channels.length; window.onkeydown = onKeyDown; @@ -219,10 +219,10 @@ function onKeyDown(event) { settimer(); switchtimer.style.opacity = 1; setTimeout("switchtimer.style.opacity = 0; ", 2000); - } else { - switchtimer.innerHTML = "<font color=black size=4><center> Program is running use OK to switch </center></font>"; - switchtimer.style.opacity = 1; - setTimeout("switchtimer.style.opacity = 0; ", 2000); +// } else { +// switchtimer.innerHTML = "<font color=black size=4><center> Program is running use OK to switch </center></font>"; +// switchtimer.style.opacity = 1; +// setTimeout("switchtimer.style.opacity = 0; ", 2000); } } break; @@ -256,6 +256,7 @@ function onKeyDown(event) { osdepginfonext.style.opacity = 1 - osdepginfo.style.opacity; } } else { + colorkeys.innerHTML = "<font color=red size=3>" + NN[3 + NowNext] + "</font><font color=green size=3>" + NN[NowNext] + "</font><font color=yellow size=3> Schedule </font><font color=blue size=3> INFO </font>"; NowNext = 1 - NowNext; showChannelList(); } @@ -264,15 +265,17 @@ function onKeyDown(event) { case "Yellow": if(isFullscreen) { if(!epgactive) { -// GetSchedule(currChan,15); -// schedule.style.opacity = 1; -// schedule.style.height = "75%"; -// setTimeout("schedule.style.opacity = 0;schedule.style.height = '45%';", 3000); + GetSchedule(currChan,15); + schedule.style.opacity = 1; + schedule.style.height = "75%"; + setTimeout("schedule.style.opacity = 0;schedule.style.height = '45%';", 3000); } } else { GetSchedule(currChan,10); schedule.style.opacity = 1 - schedule.style.opacity; channelList.style.opacity = 1 - schedule.style.opacity; + schedkeys.style.opacity = schedule.style.opacity; + colorkeys.style.opacity = 1 - schedule.style.opacity; isSchedule = schedule.style.opacity; } break; @@ -551,6 +554,13 @@ function onCacheUpdated() { GetEPG(currChan); SetOsdInfo(); } +// if (!isFullscreen) { +// showChannelList(); +// } + if (isSchedule) { + GetSchedule(currChan,10); + } + } function OSDchannr(channr) { @@ -868,14 +878,14 @@ function GetSchedule(schchan,tablelength){ txt = txt + "<td>" + th + ":" + tm + " (" + events.infoSequence[i].duration/60 + ") " + events.infoSequence[i].name + "</td></tr>"; } txt = txt + "</table>"; - schedule.innerHTML = channelsnames[schchan] + txt; + scheduletxt.innerHTML = channelsnames[schchan] + txt; } else { - schedule.innerHTML = "<p>" + channelsnames[schchan] + "</p> "; + scheduletxt.innerHTML = "<p>" + channelsnames[schchan] + "</p> "; } } catch(e) { alert("Get EPG problem: " + e); - schedule.innerHTML = "<p>" + channelsnames[schchan] + "</p><p> NO EPG </p>"; + scheduletxt.innerHTML = "<p>" + channelsnames[schchan] + "</p><p> NO EPG </p>"; } } @@ -1138,14 +1148,19 @@ function InitMenu() { <embed type="application/x-motorola-toi" hidden="true"> <div id="channelList" style="background:#bbb; width:100%; height:45%; position:absolute; left:50px; top:25px;"></div> - <div id="schedule" style="background:#bbb; width:100%; height:45%; position:absolute; left:50px; top:25px;"></div> + <div id="schedule" style="background:#bbb; width:100%; height:45%; position:absolute; left:50px; top:25px;opacity:0;"> + <div id="scheduletxt" style="background:#bbb; width:75%; height:45%; position:absolute; left:150px; top:0px;"></div></div> <div id="colorkeys" style="width:100%; position:absolute; left:75px; top:485px;"> - <font color=red size=3> Timer </font> - <font color=green size=3> Now / Next</font> + <font color=red size=3> ----- </font> + <font color=green size=3> Next </font> <font color=yellow size=3> Schedule </font> <font color=blue size=3> INFO </font> </div> + + + <div id="schedkeys" style="width:100%; position:absolute; left:75px; top:485px;opacity:0;"><font color=red size=3>-----</font><font color=green size=3>----</font><font color=yellow size=3> GUIDE </font><font color=blue size=3> ---- </font></div> + <div id="chanlistepg" style="width:300; position:absolute; left:50px; top:290px;"> </div> <div id="switchtimer" style="background:#3366ff;width:300; position:absolute; left:150px; top:150px;z-index:10;opacity:0;"></div> diff --git a/settings.js b/settings.js index 061bafb..d4c83d5 100644 --- a/settings.js +++ b/settings.js @@ -58,6 +58,12 @@ var listChan = 0; var NowNext = 0; var EpgInfo = new Array(); var EpgExtInfo = new Array(); +var NN = new Array(); +NN[0] = "Now"; +NN[1] = "Next"; +NN[2] = "Schedule"; +NN[3] = "TIMER"; +NN[4] = "-----"; // |