summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Display.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-08-27 22:08:08 +0200
committerthlo <t.lohmar@gmx.de>2013-08-27 22:08:08 +0200
commit611fd0079284be330812e9eb44a43304c42387fe (patch)
tree7884c091d5b94731781b1ff9be587b26c5131f0c /smarttv-client/Javascript/Display.js
parent616c3e41b03f39799abe0c9e27922a196fadf70d (diff)
downloadvdr-plugin-smarttvweb-611fd0079284be330812e9eb44a43304c42387fe.tar.gz
vdr-plugin-smarttvweb-611fd0079284be330812e9eb44a43304c42387fe.tar.bz2
New Overlay Menu for RecCmd Handling
Make YouTube entry optional (Select Screen option is configurable through widget.conf) First 3D iter function for 3D TVs and 3D BDs.
Diffstat (limited to 'smarttv-client/Javascript/Display.js')
-rwxr-xr-xsmarttv-client/Javascript/Display.js24
1 files changed, 3 insertions, 21 deletions
diff --git a/smarttv-client/Javascript/Display.js b/smarttv-client/Javascript/Display.js
index 1406970..a8eb758 100755
--- a/smarttv-client/Javascript/Display.js
+++ b/smarttv-client/Javascript/Display.js
@@ -62,6 +62,7 @@ Display.init = function()
"overflow": "hidden", "text-overflow":"ellipsis", "white-space": "nowrap", "height": "14px"}));
}
+ /*
var done = false;
var i = 0;
@@ -77,6 +78,7 @@ Display.init = function()
elm.style.marginBottom= " 5px";
elm.style.textAlign = "center";
}
+ */
Display.resetDescription();
Main.log("Display initialized" );
return success;
@@ -438,13 +440,6 @@ Display.handleDescription =function (selected) {
d_str = hour + ":" + min;
-/* msg += title + "<br>";
- msg += "<b>"+ prog + "</b><br>";
- msg += "<br>Start: " + d_str + "<br>";
- msg += "Duration: " + Display.durationString(length) + "h<br>";
- msg += "Remaining: " + Display.durationString((itm.payload.start + length - now));
- msg += "<br><br>"+ desc;
- */
$("#descProg").show();
$("#descRemaining").show();
@@ -458,12 +453,6 @@ Display.handleDescription =function (selected) {
break;
case Main.eREC:
d_str = mon + "/" + day + " " + hour + ":" + min;
-/*
- msg += "<b>" + title + "</b>";
- msg += "<br><br>" + d_str;
- msg += " Duration: " + Display.durationString(length) + "h";
- msg += "<br><br>"+ desc;
-*/
$("#descTitle").text(title);
$("#descStart").text("Start: " + d_str);
$("#descDuration").text("Duration: " + Display.durationString(length) + "h");
@@ -472,7 +461,7 @@ Display.handleDescription =function (selected) {
$("#descImg").show();
$("#descImg")
.error(function() { $("#descImg").hide();})
- .attr('src', Data.getCurrentItem().childs[selected].payload.link + "/preview_vdr.png");
+ .attr('src', Data.getCurrentItem().childs[selected].payload.link + "/preview_vdr.png?"+Math.random());
break;
case Main.eMED:
@@ -563,13 +552,6 @@ Display.setVideoListPosition = function(position, move) {
}
};
-/*
-Display.setDescription = function(description) {
- var descriptionElement = document.getElementById("description");
-
- Display.putInnerHTML(descriptionElement, description);
-};
-*/
Display.getDisplayTitle = function(item) {
var res = {c1:"", c2:"", c3:""};
switch (Main.state) {