summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2013-01-26 23:59:14 +0100
committerM. Voerman <rekordc@gmail.com>2013-01-26 23:59:14 +0100
commit59bace0016d1c29639af24be5cf27537771c3cb7 (patch)
tree01b01f1406d6c7bf9da7ad38fcfbc6c5b273dec9 /index.html
parentcae175f052bfaf494f1c82dca0781c4c99a9faad (diff)
downloadvdr-vipclient-59bace0016d1c29639af24be5cf27537771c3cb7.tar.gz
vdr-vipclient-59bace0016d1c29639af24be5cf27537771c3cb7.tar.bz2
Update for protected channels
Diffstat (limited to 'index.html')
-rw-r--r--index.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/index.html b/index.html
index 21ecd89..0325b8f 100644
--- a/index.html
+++ b/index.html
@@ -1604,7 +1604,10 @@ function onKeyMenu(keyCode) {
case KEY_7:
if (menu == 1) {
ShowProtectedChannels = 1 - ShowProtectedChannels;
- InitMenu(menu);
+ if (ShowProtectedChannels == 1) { ChanGroup = 0; currChan = defChan[ChanGroup]; play(currChan); }
+ isSetupMenu = 0;
+ mainmenu.style.opacity = 0;
+// InitMenu(menu);
}
break;
case KEY_8:
@@ -2047,12 +2050,16 @@ if (DelisOK) {
break;
break;
case "Down":
- mediaPlayer.play(0);
+ if (mediaPlayer.getState() != mediaPlayer.STATE_PAUSED) {
showDisplay("PAUS", false, 100, 0 );
+ mediaPlayer.play(0);
+ }
break;
case "Up":
+ if (mediaPlayer.getState() != mediaPlayer.STATE_PLAYING) {
position = position + (mediaPlayer.getPosition()/1000);
playRec((recLink[currMed] + "?time=" + position));
+ }
break;
case "Accept":
osdmedia.style.opacity = 1 - osdmedia.style.opacity;