summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Epg.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2014-06-09 12:56:48 +0200
committerthlo <smarttv640@gmail.com>2014-06-09 12:56:48 +0200
commit478222ca3bee5e20432dcc052a74e955d3fa255a (patch)
tree618002e1c41fa1143eaf0b669723a32f016d2041 /smarttv-client/Javascript/Epg.js
parent1f4c5de1370cacfb1b514d833860c372c3ff3767 (diff)
downloadvdr-plugin-smarttvweb-478222ca3bee5e20432dcc052a74e955d3fa255a.tar.gz
vdr-plugin-smarttvweb-478222ca3bee5e20432dcc052a74e955d3fa255a.tar.bz2
* Time zone and no time source issue fixedWv1.00Pv1.00
* Commands Menu Entry (when enabled in plugin) * Fix of sorting bug (blue key in recordings) * Improved buffering tuning for Live * Fixes with respect to using HLS for Recordings * Touch Remote Control support * New 21:9 crop (picture size key) * Making additional notifications (such as Recording has finished) optional * Show Language Code for Audio Track Select * Bug Fixes
Diffstat (limited to 'smarttv-client/Javascript/Epg.js')
-rw-r--r--smarttv-client/Javascript/Epg.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/smarttv-client/Javascript/Epg.js b/smarttv-client/Javascript/Epg.js
index 87325a8..3b54929 100644
--- a/smarttv-client/Javascript/Epg.js
+++ b/smarttv-client/Javascript/Epg.js
@@ -48,7 +48,8 @@ Epg.startEpgUpdating = function() {
this.isActive = true;
var res = Data.findEpgUpdateTime();
- var now = Display.GetEpochTime();
+ var now = Display.GetUtcTime();
+// var now = (new MyDate()).getTimeSec();
var delay = Math.round(res.min - now) *1000;
this.curGuid = res.guid;
@@ -136,8 +137,8 @@ Epg.handleError = function (XHR, textStatus, errorThrown) {
Epg.insertFakeEntry = function (guid) {
// Main.logToServer("Epg.insertFakeEntry for guid= " + guid + " (" + Epg.guidErrors[guid] +")");
- var now = Display.GetEpochTime();
-
+ var now = Display.GetUtcTime();
+// var now = (new MyDate()).getTimeSec() ;
entry={};
entry.prog = "Unknown";
entry.desc = "Empty";
@@ -174,7 +175,9 @@ Epg.parseResponse = function (message,text, XHR) {
// the updated record is either playing or in Menu
if (Player.state != Player.STOPPED) {
Main.logToServer("Updating Progress Bar");
- Display.updateOlForLive (entry.start, entry.dur, Display.GetEpochTime()); // Updates the progress bar
+
+ Display.updateOlForLive (entry.start, entry.dur, Display.GetUtcTime()); // Updates the progress bar
+// Display.updateOlForLive (entry.start, entry.dur, (new MyDate()).getTimeSec() ); // Updates the progress bar
}
else {
Main.logToServer("Updating Right Half");