diff options
author | M. Voerman <rekordc@gmail.com> | 2016-02-13 21:23:14 +0100 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2016-02-13 21:23:14 +0100 |
commit | 61e4daef696dc5c1c45c4e8d4a0716c1cc6fd022 (patch) | |
tree | 2a9cf38f48b3c9e7dedc2eefb3038386d106cabb /javascript/main.js | |
parent | d01c91ac5ee00857daa1571c3f46cf8edd3b120b (diff) | |
download | vdr-vipclient-61e4daef696dc5c1c45c4e8d4a0716c1cc6fd022.tar.gz vdr-vipclient-61e4daef696dc5c1c45c4e8d4a0716c1cc6fd022.tar.bz2 |
time to show volume info can be set (was same as OSD time out)
Diffstat (limited to 'javascript/main.js')
-rw-r--r-- | javascript/main.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/javascript/main.js b/javascript/main.js index e386284..08977aa 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -678,6 +678,7 @@ videoConfig = vos.getVideoConfiguration(); // create the session session = vos.createVideoConfigurationSession(); session.setDefaultVideoMode(videoConfig.getVideoOutputs()[currentOutput], desiredMode); +// session.SetDviMode(videoConfig.getVideoOutputs()[currentOutput], desiredMode); session.apply(); session.releaseInstance(); @@ -1463,6 +1464,11 @@ function showOSD() { opacity = 0.8; OSD(opacity); osdtimeout = setTimeout("fadeOut(); osdtimeout = 0;", ShowOsdTime); + if (Number(currChan) > 8999 && Number(currChan) < 10000) { + // show channel name + } else { + // not a radio channel so hide it + } } function epg_unactive() { @@ -1478,7 +1484,7 @@ function showVolume() { } osdvolume.innerHTML = "<pre class=osdvolume" + cssres[css_nr][Set_Res] + ">" + Lang[1] + " : " + Volume + "% \n\uE007" + (new Array(Volume)).join("\uE008") + (new Array(100 - Volume)).join("\uE009") + "\uE00A"; osdvolume.style.opacity = 1; - osdVolumetimeout = setTimeout("osdvolume.style.opacity = 0;", ShowOsdTime); + osdVolumetimeout = setTimeout("osdvolume.style.opacity = 0;", ShowVolumeTime); } |