From 7034d92cbb1bf7b4c219b6ff4f744349211781dc Mon Sep 17 00:00:00 2001 From: thlo Date: Mon, 7 Jan 2013 20:41:02 +0100 Subject: Fixes (use liveChannels from Widget.conf, no error after start video, etc). --- smarttv-client/Javascript/Config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'smarttv-client/Javascript/Config.js') diff --git a/smarttv-client/Javascript/Config.js b/smarttv-client/Javascript/Config.js index 8718fb5..1aa2f75 100755 --- a/smarttv-client/Javascript/Config.js +++ b/smarttv-client/Javascript/Config.js @@ -12,7 +12,7 @@ var Config = { pendingBuffer: 40, // in percent initialTimeOut: 3, // sec skipDuration : 30, // sec - noLiveChannels : 30, + liveChannels : 30, firstLaunch : false, deviceType : 0 // Used to differentiate between browsers and platforms @@ -241,7 +241,7 @@ Config.processConfig = function () { if (res != 0) this.initialTimeOut = 1.0 * res; res = Config.getXmlValue("liveChannels"); - if (res != 0) noLiveChannels = res; + if (res != 0) this.liveChannels = res; Player.skipDuration = Config.skipDuration; Main.log("**** Config ****"); @@ -253,6 +253,8 @@ Config.processConfig = function () { Main.log("pendingBuffer= " + Config.pendingBuffer); Main.log("skipDuration= " + Config.skipDuration); Main.log("initialTimeOut= " + Config.initialTimeOut); + Main.log("liveChannels= " + Config.liveChannels); + Main.log("**** /Config ****"); }; -- cgit v1.2.3