summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2013-07-04 22:22:00 +0200
committerM. Voerman <rekordc@gmail.com>2013-07-04 22:22:00 +0200
commit19c2e54fa744f3187f2c87995ea2094a3f99bd95 (patch)
tree6fc428d8bf0405636135580fae3b8a00a0a4155b /index.html
parent1a60dec051642b83b3f4deb99cfe49b02521b4c4 (diff)
downloadvdr-vipclient-19c2e54fa744f3187f2c87995ea2094a3f99bd95.tar.gz
vdr-vipclient-19c2e54fa744f3187f2c87995ea2094a3f99bd95.tar.bz2
In recordings menu 0 rewinds recording
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();