summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Display.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-02-03 20:36:52 +0100
committerthlo <t.lohmar@gmx.de>2013-02-03 20:36:52 +0100
commit3488d6aa8a59441491cd876f7121d4d2cdb7913c (patch)
tree359de84a1148d9c2babc2071b8967a210fd49aff /smarttv-client/Javascript/Display.js
parentf3f6a509b603485b3472beb980d241010dd1fbe1 (diff)
downloadvdr-plugin-smarttvweb-3488d6aa8a59441491cd876f7121d4d2cdb7913c.tar.gz
vdr-plugin-smarttvweb-3488d6aa8a59441491cd876f7121d4d2cdb7913c.tar.bz2
4:3 Button.
Trickplay for PES recordings and other files (no TS recordings yet). Delete Recordings. Parsing RSS enclosure url.
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);