diff options
-rwxr-xr-x | smarttv-client/Javascript/Display.js | 11 | ||||
-rwxr-xr-x | smarttv-client/Javascript/Main.js | 3 | ||||
-rwxr-xr-x | smarttv-client/config.xml | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/smarttv-client/Javascript/Display.js b/smarttv-client/Javascript/Display.js index a304d74..14cc873 100755 --- a/smarttv-client/Javascript/Display.js +++ b/smarttv-client/Javascript/Display.js @@ -557,12 +557,12 @@ Display.getDisplayTitle = function(item) { *
*/
-Display.initOlForLive = function () {
+Display.showOlStartStop = function () {
$("#olTitle").css("width", "50%");
$("#olStartStop").show();
};
-Display.initOlForRecordings = function () {
+Display.hideOlStartStop = function () {
$("#olStartStop").hide();
$("#olTitle").css("width", "75%");
};
@@ -595,6 +595,7 @@ Display.setOlTitle = function (title) { Display.resetStartStop = function () {
Display.olStartStop = "";
+ Display.hideOlStartStop();
$("#olStartStop").text("");
/* var elm = document.getElementById("olStartStop");
Display.putInnerHTML(elm, Display.olStartStop);
@@ -602,7 +603,8 @@ Display.resetStartStop = function () { };
Display.setStartStop = function(start, stop) {
this.olStartStop = "";
-
+ Display.showOlStartStop();
+
var digi =new Date(start * 1000);
var hours=digi.getHours();
var minutes=digi.getMinutes();
@@ -626,8 +628,9 @@ Display.setStartStop = function(start, stop) { Display.setSkipDuration = function(duration) {
this.olStartStop = "";
+ Display.showOlStartStop();
- this.olStartStop = duration;
+ this.olStartStop = duration;
$("#olStartStop").text("Next Skip: " + Display.olStartStop+"sec");
diff --git a/smarttv-client/Javascript/Main.js b/smarttv-client/Javascript/Main.js index 382b81c..05099b5 100755 --- a/smarttv-client/Javascript/Main.js +++ b/smarttv-client/Javascript/Main.js @@ -381,7 +381,6 @@ Main.playItem = function (url) { // Live
// Check for updates
Display.hide();
- Display.initOlForLive();
Display.showProgress();
Player.isLive = true;
@@ -398,7 +397,6 @@ Main.playItem = function (url) { Player.playVideo(-1);
break;
case Main.eREC:
- Display.initOlForRecordings();
Display.resetStartStop();
// Main.getResume(Data.getCurrentItem().childs[Main.selectedVideo].payload.guid);
@@ -444,7 +442,6 @@ Main.playItem = function (url) { break;
case Main.eMED:
Display.hide();
- Display.initOlForRecordings();
Display.showProgress();
Player.setCurrentPlayTimeOffset(0);
diff --git a/smarttv-client/config.xml b/smarttv-client/config.xml index 9e3edde..621d8c0 100755 --- a/smarttv-client/config.xml +++ b/smarttv-client/config.xml @@ -9,7 +9,7 @@ <BigThumbIcon>Images/icon/SmartTvWeb_115.png</BigThumbIcon>
<ListIcon>Images/icon/SmartTvWeb_85.png</ListIcon>
<BigListIcon>Images/icon/SmartTvWeb_95.png</BigListIcon>
- <ver>0.87</ver>
+ <ver>0.88</ver>
<mgrver></mgrver>
<fullwidget>y</fullwidget>
<movie>y</movie>
|