diff options
author | M. Voerman <rekordc@gmail.com> | 2014-11-12 02:21:42 +0100 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2014-11-12 02:21:42 +0100 |
commit | ee95274ce1980e01674ac954656dd58b92b0de42 (patch) | |
tree | 132042552996647b9171cf364d521108af79c6ba | |
parent | 7a354060c9b0d64bd48a3a7e45f30912e08c71a3 (diff) | |
download | vdr-vipclient-ee95274ce1980e01674ac954656dd58b92b0de42.tar.gz vdr-vipclient-ee95274ce1980e01674ac954656dd58b92b0de42.tar.bz2 |
Fix crash on boxes from Poda (no segment display)
-rw-r--r-- | History | 1 | ||||
-rw-r--r-- | main.js | 8 | ||||
-rw-r--r-- | settings.js | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -11,6 +11,7 @@ VDR 1.7.29+ Fixed show ext epg info if ext info != short info. Moved script to main.js Display shows R/F + channelnumber ('R' for Radio, 'F' for favorite) + Skinning, CSS styling 0.25 Get recordings from Streamdev, Restfulapi or SmartTVweb. @@ -1302,7 +1302,11 @@ function showDisplay(showtxt,colonState,intensity,currentMode) { if (Number(showtxt) > 8999 && Number(showtxt) < 10000) { showtxt = "R" + Right(showtxt,3); } if (Number(showtxt) > 9999 && Number(showtxt) < 20000) { showtxt = "F" + Right(showtxt,3); } showtxt = Right(showtxt,4); - fps.setSegmentDisplayState(toi.statics.ToiFrontPanelServiceSegmentDisplayState.create(showtxt,colonState,intensity,currentMode)); + try { + fps.setSegmentDisplayState(toi.statics.ToiFrontPanelServiceSegmentDisplayState.create(showtxt,colonState,intensity,currentMode)); + } catch (e) { + // Display error, maybe no display... + } } } @@ -4082,7 +4086,7 @@ try { } else { MakeRecList(); } - if (i!==0) { getRecOK = 1; } else { + if (nrMedia!==0) { getRecOK = 1; } else { getRecOK = 0; medialist.innerHTML = "<h1><center style='font-size:" + fsRec + ";" + color_main_head + ";'>" + Lang[38] + "</center><pre>\n\n\n" + Lang[37] + "</pre></h1>"; } diff --git a/settings.js b/settings.js index e9c2fa1..9e552d0 100644 --- a/settings.js +++ b/settings.js @@ -2,7 +2,7 @@ // Default settings // -var Version = "0.26.3"; +var Version = "0.26.4"; server_ip_array = new Array("http://192.168.1.15","http://192.168.3.15","http://192.168.178.56","http://192.168.3.100","http://192.168.178.19","http://192.168.1.21","http://192.168.2.100","http://192.168.178.52"); |