From f294d3cb3aa36e2a74e4e4c8542c48da78f54861 Mon Sep 17 00:00:00 2001 From: thlo Date: Sun, 29 Sep 2013 16:09:19 +0200 Subject: * Fixes in Comm handling. * Fixes in Timer menu. * Fixes in Image Viewer. * Widget Code Improvements (HTTP transaction handlings) --- smarttv-client/Javascript/Main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'smarttv-client/Javascript/Main.js') diff --git a/smarttv-client/Javascript/Main.js b/smarttv-client/Javascript/Main.js index d65ee70..48b4e44 100755 --- a/smarttv-client/Javascript/Main.js +++ b/smarttv-client/Javascript/Main.js @@ -283,6 +283,7 @@ Main.isTvSet = function () { Main.changeState = function (state) { Main.log("change state: OldState= " + this.state + " NewState= " + state); + Main.logToServer("change state: OldState= " + this.state + " NewState= " + state); var old_state = this.state; @@ -1069,10 +1070,10 @@ cLivePlayStateKeyHndl.prototype.handleKeyDown = function (keyCode) { case 73: Main.log("KEY_REC with guid= Data.getCurrentItem().childs[Main.selectedVideo].payload.guid"); - var timer_req = new addTimer(Data.getCurrentItem().childs[Main.selectedVideo].payload.guid); +// var timer_req = new addTimer(Data.getCurrentItem().childs[Main.selectedVideo].payload.guid); + Server.addTimer(Data.getCurrentItem().childs[Main.selectedVideo].payload.guid); // use the guid and request the epg. // use the event id then issue the rec command -// Data.getCurrentItem().childs[Main.selectedVideo].payload.guid case tvKey.KEY_PAUSE: Main.log("REC / PAUSE"); -- cgit v1.2.3