summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History1
-rw-r--r--index.html46
-rw-r--r--settings.js1
3 files changed, 37 insertions, 11 deletions
diff --git a/History b/History
index ba6bbe3..c31595c 100644
--- a/History
+++ b/History
@@ -11,6 +11,7 @@ VDR 1.7.29
Added a 'none' to audio prio settings, which restores the factory setting.
Timer ADD/ Timer DEL is now possible by using SmartTVWeb (Show Timers still uses restfulapi) (No more patching of restfulapi is needed!)
Instant REC now only records current program ( no EPG, no recording )
+ Recordsmenu shows recording date/time
diff --git a/index.html b/index.html
index 730dbfe..db0d3e8 100644
--- a/index.html
+++ b/index.html
@@ -573,8 +573,13 @@ function onKeyDown(event) {
if(isSchedule == 0) {
if(!epgactive) {
SetOsdInfo();
- osdepginfo.style.opacity = 1;
- osdepginfonext.style.opacity = 0;
+ if (NowNext) {
+ osdepginfo.style.opacity = 0;
+ osdepginfonext.style.opacity = 1;
+ } else {
+ osdepginfo.style.opacity = 1;
+ osdepginfonext.style.opacity = 0;
+ }
epgactive = 1;
} else {
osdepginfo.style.opacity = 0;
@@ -3135,7 +3140,14 @@ function MakeRecList() {
} else {
recList[i] = "\uE003" + recTitl[i];
}
- if (rec_New[i] == "true" ) { recList[i] = "\uE010\uE003" + recList[i]; } else { recList[i] = "\uE003\uE003" + recList[i]; }
+ AddDateInfo(i);
+ if (rec_New[i] == "true" )
+ {
+ recList[i] = "\uE010" + result + "\uE003" + recList[i];
+ } else {
+ recList[i] = "\uE003" + result + "\uE003" + recList[i];
+ }
+
x = recTitl[i][recMap];
xx = recTitl[i][recMap + 1];
}
@@ -3157,10 +3169,11 @@ function MakeRecList2() {
recGroup[i] = xx;
} else {
recGroup[i] = 0;
+ AddDateInfo(i);
if (rec_New[i] == "true" ) {
- recList[i] = "\uE003\uE010\uE003" + recTitl[i];
+ recList[i] = "\uE003\uE010" + result + "\uE003" + recTitl[i];
} else {
- recList[i] = "\uE003\uE003\uE003" + recTitl[i];
+ recList[i] = "\uE003\uE003" + result + "\uE003" + recTitl[i];
}
}
x = recTitl[i][0];
@@ -3177,11 +3190,11 @@ function MakeRecList3(GroupID) {
{
tmp = tmp + "\uE003" + recTitl[i][ii];
}
-
+ AddDateInfo(i);
if (rec_New[i] == "true" ) {
- recList[i] = "\uE010" + tmp; // recTitl[i];
+ recList[i] = "\uE010" + result + tmp; // recTitl[i];
} else {
- recList[i] = "\uE003" + tmp; //recTitl[i];
+ recList[i] = "\uE003" + result + tmp; //recTitl[i];
}
MaxInGroup = MaxInGroup + 1;
@@ -3191,8 +3204,21 @@ function MakeRecList3(GroupID) {
}
}
-
-
+function AddDateInfo(info) {
+//Add Date to item
+ date = new Date(Number(recStrt[info])*1000);
+ year = date.getFullYear();
+ month = date.getMonth();
+ d = date.getDate();
+ h = date.getHours();
+ m = date.getMinutes();
+ month=addzero(month);
+ d=addzero(d);
+ h=addzero(h);
+ m=addzero(m);
+ result = "\uE003" + d + '-' + month + '-' + year + ' ' + h + ':' + m;
+//
+}
function showMediaList() {
if (osdepginfo.style.opacity == 1) {osdepginfo.style.opacity = 0;}
diff --git a/settings.js b/settings.js
index 9720cad..f7e0154 100644
--- a/settings.js
+++ b/settings.js
@@ -37,7 +37,6 @@ var fullupdate = 1; // If guideview is too slow, set it to 0 (for 1910/1960), fa
var ShowOsdTime = 5000; //Time to show OSD, in seconds * 1000
-var inst_timeout = 120 * 1000; // 120 minutes, time to lock recording (So pressing twice record won't start a new recording of the same channel)
var serverEPGdays = 3 * (60 * 60 * 24); // the higher the longer you wait while getting the epg info