summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Display.js
diff options
context:
space:
mode:
Diffstat (limited to 'smarttv-client/Javascript/Display.js')
-rwxr-xr-xsmarttv-client/Javascript/Display.js20
1 files changed, 19 insertions, 1 deletions
diff --git a/smarttv-client/Javascript/Display.js b/smarttv-client/Javascript/Display.js
index 14cc873..97dae0c 100755
--- a/smarttv-client/Javascript/Display.js
+++ b/smarttv-client/Javascript/Display.js
@@ -594,6 +594,7 @@ Display.setOlTitle = function (title) {
};
Display.resetStartStop = function () {
+ Main.log("Display.resetStartStop");
Display.olStartStop = "";
Display.hideOlStartStop();
$("#olStartStop").text("");
@@ -627,8 +628,10 @@ Display.setStartStop = function(start, stop) {
};
Display.setSkipDuration = function(duration) {
+ Main.log("Display.setSkipDuration: duration= " +duration);
this.olStartStop = "";
- Display.showOlStartStop();
+// if (this.olStartStop == "")
+ Display.showOlStartStop();
this.olStartStop = duration;
@@ -639,6 +642,21 @@ Display.setSkipDuration = function(duration) {
*/
};
+Display.setTrickplay = function(direction, multiple) {
+ this.olStartStop = "";
+// if (this.olStartStop == "")
+ Display.showOlStartStop();
+
+ this.olStartStop = multiple;
+
+ $("#olStartStop").text( ((direction == 1) ? "FF": "RW") + ": " + Display.olStartStop+"x");
+
+/* var elm = document.getElementById("olStartStop");
+ Display.putInnerHTML(elm, "Next Skip: " + Display.olStartStop+"sec");
+ */
+};
+
+
// Player.OnCurrentPlayTime
Display.updatePlayTime = function() {
// Player.curPlayTimeStr = Display.getHumanTimeRepresentation(Player.curPlayTime);