diff options
| author | M. Voerman <rekordc@gmail.com> | 2015-07-29 21:28:56 +0200 |
|---|---|---|
| committer | M. Voerman <rekordc@gmail.com> | 2015-07-29 21:28:56 +0200 |
| commit | acbc708d591afa985ab223e7caf92c3aa8bc1b5f (patch) | |
| tree | e795d763d4bd8d112a1ad69d1036879ae3ea2908 /javascript/main.js | |
| parent | 9e980e08fda212bd4c3e04b2a5d96dbd840054ec (diff) | |
| download | vdr-vipclient-acbc708d591afa985ab223e7caf92c3aa8bc1b5f.tar.gz vdr-vipclient-acbc708d591afa985ab223e7caf92c3aa8bc1b5f.tar.bz2 | |
Channels update
bug fixes
Some testing with DLNA, needs DLNA enabled firmware on the Vip
Diffstat (limited to 'javascript/main.js')
| -rw-r--r-- | javascript/main.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/javascript/main.js b/javascript/main.js index 4d0fcff..a8df190 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -24,11 +24,14 @@ function onLoad() { embedTeletextPlugin(); aos.setVolume(AudioOut, StartVolume); aos.setMuteState(AudioOut, false); - showDisplay(currChan.toString(), false, 100, 0 ); - //if box is in standby don't start a stream. + //if box is in standby don't start a stream or change frontdisplay. if (is.getObject("var.io.state") == "normal") { play(channels[currChan]); + showDisplay(currChan.toString(), false, 100, 0 ); + } else { + SetLed(2,2,0);// At request no more blinking on standby. + showDisplay("", true, 50, 1 ); } if (EPGMode) { @@ -103,6 +106,11 @@ function onLoad() { settimer(crontime.getTime()/1000,"-",0,6); // Reload } } + + if (Use_DLNA) { + // initDLNAPlugin(); + // find_dlna(); + } } |
