summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History1
-rw-r--r--index.html15
-rw-r--r--settings.js4
3 files changed, 17 insertions, 3 deletions
diff --git a/History b/History
index 7644176..1b6b7ed 100644
--- a/History
+++ b/History
@@ -7,6 +7,7 @@ VDR 1.7.29
SearchTimers Submenu.
Channels updates
In guideview you can have updates for all channels in view, was changed because it was too slow on 1910/1960 but 1963/1903 can handle it.
+ Added PG info.
0.19 Added SleepTimer in menu 1 Settings. (Key is stopbutton)
diff --git a/index.html b/index.html
index 2d6ad0b..3ac9ddf 100644
--- a/index.html
+++ b/index.html
@@ -966,8 +966,8 @@ function OSDhtml(){
osdname.innerHTML = Left(channelsnames[currChan],30);
}
osdepg.innerHTML = "<p>" + EPG[0][7][currChan] + "</p>\n<p>" + EPG[1][7][currChan] + "</p>";
- osdepginfo.innerHTML = "<center><p style='color:white;' >" + currChan + "\uE003" + channelsnames[currChan] + "</p>" + AudioInfo[currChan] + "<p style='color:white;'>" + EPG[0][7][currChan] + "</p>\n<p style='color:yellow;'>" + EPG[0][4][currChan] + "</p>\n<p>" + Left(EPG[0][5][currChan],750) + "</p></center>";
- osdepginfonext.innerHTML = "<center><p style='color:white;'>" + currChan + "\uE003" + channelsnames[currChan] + "</p><p style='color:white;'>" + EPG[1][7][currChan] + "</p>\n<p style='color:yellow;'>" + EPG[1][4][currChan] + "</p>\n<p>" + Left(EPG[1][5][currChan],750) + "</p></center>";
+ osdepginfo.innerHTML = "<center><p style='color:white;' >" + currChan + "\uE003" + channelsnames[currChan] + "</p>" + AudioInfo[currChan] + "<p style='color:white;'>" + EPG[0][7][currChan] + EPG[0][8][currChan] + "</p>\n<p style='color:yellow;'>" + EPG[0][4][currChan] + "</p>\n<p>" + Left(EPG[0][5][currChan],750) + "</p></center>";
+ osdepginfonext.innerHTML = "<center><p style='color:white;'>" + currChan + "\uE003" + channelsnames[currChan] + "</p><p style='color:white;'>" + EPG[1][7][currChan] + EPG[1][8][currChan] + "</p>\n<p style='color:yellow;'>" + EPG[1][4][currChan] + "</p>\n<p>" + Left(EPG[1][5][currChan],750) + "</p></center>";
}
function updateOSDtime(timchan) {
@@ -1168,6 +1168,11 @@ function GetEPG(epgchan)
EPG[0][3][epgchan] = (event.duration/60);
EPG[0][4][epgchan] = "";
EPG[0][5][epgchan] = "";
+ if (event.parentalRating) {
+ EPG[0][8][epgchan] = "( from " + (event.parentalRating + 3) + ")";
+ } else {
+ EPG[0][8][epgchan] = "";
+ }
if(EPGShortnow) {
EPG[0][4][epgchan] = EPGShortnow;
@@ -1197,7 +1202,11 @@ function GetEPG(epgchan)
EPG[1][3][epgchan] = (event.duration/60);
EPG[1][4][epgchan] = "";
EPG[1][5][epgchan] = "";
-
+ if (event.parentalRating) {
+ EPG[1][8][epgchan] = "( from " + (event.parentalRating + 3) + ")";
+ } else {
+ EPG[1][8][epgchan] = "";
+ }
if(EPGShortnext) {
diff --git a/settings.js b/settings.js
index 312c76a..7f5b70f 100644
--- a/settings.js
+++ b/settings.js
@@ -127,6 +127,7 @@ var files = new Array();
// 5 = extinfo
// 6 = eventid
// 7 = EPGNow / EPGNext
+// 8 = parentalRating
var EPG = new Array();
EPG[0] = new Array();
@@ -139,6 +140,7 @@ EPG[0][4] = new Array();
EPG[0][5] = new Array();
EPG[0][6] = new Array();
EPG[0][7] = new Array();
+EPG[0][8] = new Array();
EPG[1][1] = new Array();
EPG[1][2] = new Array();
EPG[1][3] = new Array();
@@ -146,6 +148,7 @@ EPG[1][4] = new Array();
EPG[1][5] = new Array();
EPG[1][6] = new Array();
EPG[1][7] = new Array();
+EPG[1][8] = new Array();
EPG[2][1] = new Array();
EPG[2][2] = new Array();
EPG[2][3] = new Array();
@@ -153,6 +156,7 @@ EPG[2][4] = new Array();
EPG[2][5] = new Array();
EPG[2][6] = new Array();
EPG[2][7] = new Array();
+EPG[2][8] = new Array();
var osdtimeout = 0;
var osdVolumetimeout = 0;