diff options
-rw-r--r-- | History | 3 | ||||
-rw-r--r-- | Manual.txt | 13 | ||||
-rw-r--r-- | index.html | 22 | ||||
-rw-r--r-- | settings.js | 2 |
4 files changed, 35 insertions, 5 deletions
@@ -3,6 +3,9 @@ Motorola Vip : 1960, 1910, 1903, 1963. VDR 1.7.29 +0.19 Added SleepTimer in menu 1 Settings. (Key is stopbutton) + + 0.18 Updated EPG filter for 30W ZON, Digital, MEO 19E Tid 1057 (RTL HD etc) @@ -62,12 +62,23 @@ Blue - Info about Recording (Server) Timer selection mode ? - Back to TV mode TV - Back to TV mode +Up - scroll -1 +Down - scroll +1 +Red - Delete Timer (patched restfulapi only!) +Blue - Shows info about timer + +EPG mode (Yellow button, default view) +? - Back to TV mode +TV - Back to TV mode Right - scroll +10 Left - scroll -10 Up - scroll -1 Down - scroll +1 -Red - Delete Timer (patched restfulapi only!) +OK - Shows info about timer Blue - Shows info about timer +Red - Set switch timer +Rec - + Teletext mode Left - Next Page @@ -20,12 +20,10 @@ // // make VDR connection for // set/create/edit timers -// make recordings -// // // -var Version = "0.18" +var Version = "0.19.1" for (var x = 0; x < 10; x++) { if (minChan[x]) { @@ -1637,6 +1635,20 @@ function onKeyMenu(keyCode) { case "MediaForward": break; case "MediaStop": + if (menu == 1) { + //set sleep timer. + SleepTimer = SleepTimer + 15; + if (SleepTimerID != -1) { + clearTimeout(SleepTimerID); + SleepTimerID = -1; + } + if (SleepTimer > 90) { + SleepTimer = 0; + } else { + SleepTimerID = setTimeout("SleepTimer = 0;toi.platformService.setStandby(true);", (SleepTimer * 60 * 1000)); + } + } + InitMenu(menu); break; case "Teletext": break; @@ -1855,7 +1867,9 @@ if(menu == 1) { // settings menu if (ShowProtectedChannels) { htmltext = htmltext + "\uE017"; } else { htmltext = htmltext + "\uE016"; } htmltext = htmltext + " Protection\n 8 - "; if (SwitchGuide) { htmltext = htmltext + "\uE017"; } else { htmltext = htmltext + "\uE016"; } - htmltext = htmltext + " Preview guide\n 9 - Show INFO\n 0 - MainMenu </pre>"; + htmltext = htmltext + " Preview guide\n 9 - Show INFO\n S - SleepTimer : "; + if (SleepTimer) { htmltext = htmltext + SleepTimer + " minutes"; } else { htmltext = htmltext + "OFF"; } + htmltext = htmltext + "\n 0 - MainMenu </pre>"; mainmenu.innerHTML = htmltext; } diff --git a/settings.js b/settings.js index 981b923..79843c7 100644 --- a/settings.js +++ b/settings.js @@ -149,6 +149,8 @@ var TimerActions = ""; var switchtimerID = 0; var SwitchTimer = 1; // 1 - switchonly, 2 - record local, 3 - record on server (only 1 & 2 are working) var initialDelayID = 0; +var SleepTimer = 0; +var SleepTimerID = -1; var switchicon = "\uE003"; var CAicon = "\uE00F"; |