summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html27
1 files changed, 27 insertions, 0 deletions
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();