summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2014-11-30 11:26:46 +0100
committerM. Voerman <rekordc@gmail.com>2014-11-30 11:26:46 +0100
commit08a30b8b97285e95815c5d6c1f34d01b6f6da1a4 (patch)
tree22476fe7304346a02a0f55119b8b4fce4172e07c
parent3d4aad82534d416bee82db634f7f4f2dd834a308 (diff)
downloadvdr-vipclient-08a30b8b97285e95815c5d6c1f34d01b6f6da1a4.tar.gz
vdr-vipclient-08a30b8b97285e95815c5d6c1f34d01b6f6da1a4.tar.bz2
Fixed standby while playback
-rw-r--r--History3
-rw-r--r--javascript/main.js18
2 files changed, 11 insertions, 10 deletions
diff --git a/History b/History
index e6b386f..008fe9e 100644
--- a/History
+++ b/History
@@ -18,7 +18,8 @@ VDR 1.7.29+
add to favorite now refreshes view
added keys from Motorola NYX remote. (Both up/down/left/right keys do the same)
Turn record key off
- NYX remote hase no stopkey so key 'back' does the same as stop.
+ NYX remote hase no stopkey so key 'back' does the same as stop.
+ Fixed Standby while playback
0.25 Get recordings from Streamdev, Restfulapi or SmartTVweb.
Check if SmartTVweb is on the server if not turn SmartTVweb options off
diff --git a/javascript/main.js b/javascript/main.js
index 39a1325..d8abb07 100644
--- a/javascript/main.js
+++ b/javascript/main.js
@@ -259,17 +259,17 @@ var numObjs = event.objectNames.length;
} else if(event.objectNames[i] == "var.io.state" && is.getObject(event.objectNames[i]) == "normal" && KillStream == 1){
play(channels[currChan]);
if(isMediaMenu) {
- if (mediaList.style.opacity == 0) {
- if (get_recordings == 1) {
- setTimeout("GetMarks(); getResume(); playRec(recLink[currMed]+ '?mode=streamtoend&time=' + position);",100);
- } else if (get_recordings == 2) {
+ if (medialist.style.opacity == 0) {
+ if (get_recordings == 1) {
+ setTimeout("GetMarks(); getResume(); playRec(recLink[currMed] + '?mode=streamtoend&time=' + position);",100);
+ } else if (get_recordings == 2) {
setTimeout("playRec(recLink[currMed]+ '?pos=time.' + position);",100);
- }
+ }
- } else {
- showDisplay("STOP", false, 100, 0 );
- showMediaList();
- }
+ } else {
+ showDisplay("STOP", false, 100, 0 );
+ showMediaList();
+ }
}
}
}