diff options
| author | M. Voerman <rekordc@gmail.com> | 2013-01-26 23:59:14 +0100 |
|---|---|---|
| committer | M. Voerman <rekordc@gmail.com> | 2013-01-26 23:59:14 +0100 |
| commit | 59bace0016d1c29639af24be5cf27537771c3cb7 (patch) | |
| tree | 01b01f1406d6c7bf9da7ad38fcfbc6c5b273dec9 | |
| parent | cae175f052bfaf494f1c82dca0781c4c99a9faad (diff) | |
| download | vdr-vipclient-59bace0016d1c29639af24be5cf27537771c3cb7.tar.gz vdr-vipclient-59bace0016d1c29639af24be5cf27537771c3cb7.tar.bz2 | |
Update for protected channels
| -rw-r--r-- | History | 1 | ||||
| -rw-r--r-- | index.html | 11 |
2 files changed, 10 insertions, 2 deletions
@@ -2,6 +2,7 @@ Switch timer sets ChannelGroup. When playing recordings key '0' rewinds to start of the recording. Is_new flag unset when resume is set (without reloading recordings from server) + Setting protection on/off exits menu. Protection ON also jumps to ChannelGroup 0 & last played channel. 0.13 Bug fixes. Cosmetic fixes. @@ -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; |
