From 19c2e54fa744f3187f2c87995ea2094a3f99bd95 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Thu, 4 Jul 2013 22:22:00 +0200 Subject: In recordings menu 0 rewinds recording --- History | 1 + channels6.js | 2 +- index.html | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/History b/History index 68d4532..c026ca3 100644 --- a/History +++ b/History @@ -10,6 +10,7 @@ VDR 1.7.29 Added PG & content info. fixed show double epg info (epg shortinfo = epg ext. info) timer to stop duplicate instant recordings.( Default 15 minutes) + In recordings menu 0 rewinds recording to 0. 0.19 Added SleepTimer in menu 1 Settings. (Key is stopbutton) diff --git a/channels6.js b/channels6.js index 419b223..1ce0684 100644 --- a/channels6.js +++ b/channels6.js @@ -40,7 +40,7 @@ channels[6014]="S13.0E-318-8900-2099"; channelsnames[6015] = "French Lover (S)"; channels[6015]="S13.0E-318-8900-2098"; channelsnames[6018] = "Hot (S)"; -channels[6018]="PS/S30.0W-54-37-1666.vob"; +channels[6018]="S30.0W-54-37-1666"; channelsnames[6019] = "Leo TV (S)"; channels[6019]="S23.5E-3-3209-13119"; channelsnames[6020] = "Private Spice (S)"; diff --git a/index.html b/index.html index a661feb..5379682 100644 --- a/index.html +++ b/index.html @@ -657,6 +657,12 @@ function onKeyDown(event) { case "Menu": if(isFullscreen) { + if(count) { + count = 0; + osdnr.style.opacity = 0; + showDisplay((currChan.toString()), false, 100, 0 ); + Change = 0; + } osdepginfo.style.opacity = 0; osdepginfonext.style.opacity = 0; isSetupMenu = 1; @@ -2578,6 +2584,13 @@ if (DelisOK) { setTimeout("switchtimer.style.opacity = 0; ", 2000); } break; + case KEY_0: + if (getRecOK == 1 && (recGroup[currMed] == 0 || subgroup == 1)) { + // Only rewind file if it isn't a subdir marker + setResumeNull(); + showMediaList(); + } + break; default: break; @@ -2905,6 +2918,20 @@ try { } + +function setResumeNull() { +try { + var xmlhttp = new XMLHttpRequest(); + xmlhttp.open("POST", recServ + "/setResume.xml?guid=" + recGUID[currMed] + "&resume=0", false); + xmlhttp.send(); + recList[currMed] = "\uE010" + Right(recList[currMed], recList[currMed].length -1 ); + } catch(e) { + alert("Setting Resume problem: " + e); + } + +} + + function getVDRstatus() { try { xmlhttp=new XMLHttpRequest(); -- cgit v1.2.3