summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2014-09-27 21:19:18 +0200
committerM. Voerman <rekordc@gmail.com>2014-09-27 21:19:18 +0200
commitd715c5166fae06bfbbd0d2288c3e3d33d1b287f4 (patch)
tree1f0ee1bb5812ef6becb6b8a3f70c77f16539dcf8 /index.html
parenta66701586ab45dc8a61acd129eab04cb5cf64355 (diff)
downloadvdr-vipclient-d715c5166fae06bfbbd0d2288c3e3d33d1b287f4.tar.gz
vdr-vipclient-d715c5166fae06bfbbd0d2288c3e3d33d1b287f4.tar.bz2
bugfix for epg
Diffstat (limited to 'index.html')
-rw-r--r--index.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/index.html b/index.html
index ca0e2cf..ce94f72 100644
--- a/index.html
+++ b/index.html
@@ -699,6 +699,9 @@ function FullScreen() {
function onKeyDown(event) {
+//show key info, needed when a 'new' remote is used
+//alert( "keyIdentifier : " + event.keyIdentifier +"\n"+"ctrlKey : " + event.ctrlKey +"\n"+"altKey : " + event.altKey +"\n"+"shiftKey : " + event.shiftKey +"\n"+"RAW : " + event );
+
if(isVisible) {
onKeyTeletext(event.keyIdentifier);
} else if(isSetupMenu) {
@@ -1688,13 +1691,16 @@ function GetEPG(epgchan)
EPGShortnow = extEventsnow.shortInfo;
EPGExtnow = extEventsnow.extendedInfo;
Extok = 1;
+
} else { Extok = 0; }
+
+
EPG[0][1][epgchan] = event.name;
EPG[0][2][epgchan] = event.time;
EPG[0][3][epgchan] = (event.duration/60);
- EPG[0][4][epgchan] = "";
- EPG[0][5][epgchan] = "";
+// EPG[0][4][epgchan] = "";
+// EPG[0][5][epgchan] = "";
EPG[0][6][epgchan] = event.eventId;
if (event.parentalRating) {
EPG[0][8][epgchan] = "<br>(" + Lang[5] + (event.parentalRating + 3) + " )";
@@ -1722,7 +1728,9 @@ function GetEPG(epgchan)
EPG[0][5][epgchan] = "";
}
- if (EPG[0][5][epgchan] = EPG[0][4][epgchan]) { EPG[0][5][epgchan] = "";}
+ if (EPG[0][5][epgchan] == EPG[0][4][epgchan]) { EPG[0][5][epgchan] = "";}
+
+
updateOSDtime(epgchan);
@@ -1740,8 +1748,8 @@ function GetEPG(epgchan)
EPG[1][1][epgchan] = event.name;
EPG[1][2][epgchan] = event.time;
EPG[1][3][epgchan] = (event.duration/60);
- EPG[1][4][epgchan] = "";
- EPG[1][5][epgchan] = "";
+// EPG[1][4][epgchan] = "";
+// EPG[1][5][epgchan] = "";
EPG[1][6][epgchan] = event.eventId;
if (event.parentalRating) {
EPG[1][8][epgchan] = "<br>(" + Lang[5] + (event.parentalRating + 3) + " )";
@@ -1768,7 +1776,7 @@ function GetEPG(epgchan)
EPG[1][5][epgchan] = "";
}
- if (EPG[1][5][epgchan] = EPG[1][4][epgchan]) { EPG[1][5][epgchan] = "";}
+ if (EPG[1][5][epgchan] == EPG[1][4][epgchan]) { EPG[1][5][epgchan] = "";}
tijd = event.time;
date = new Date(tijd*1000);