From acbc708d591afa985ab223e7caf92c3aa8bc1b5f Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Wed, 29 Jul 2015 21:28:56 +0200 Subject: Channels update bug fixes Some testing with DLNA, needs DLNA enabled firmware on the Vip --- javascript/main.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'javascript/main.js') 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(); + } } -- cgit v1.2.3