summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History8
-rw-r--r--index.html14
-rw-r--r--settings.js2
3 files changed, 17 insertions, 7 deletions
diff --git a/History b/History
index 9672996..237f19a 100644
--- a/History
+++ b/History
@@ -1,4 +1,7 @@
-Tested on Motorola Vip : 1960 (with and without HDD), 1910, 1903.
+Tested on
+Motorola Vip : 1960 (with and without HDD), 1910, 1903.
+VDR 1.7.29
+
0.17 Show EPG from Server limited to X days ( 3 = default, set in settings.js)
Updated Mainmenu. For now Recordings = Server Recordings menu item.
@@ -9,7 +12,8 @@ Tested on Motorola Vip : 1960 (with and without HDD), 1910, 1903.
Fixed crash when no EPG and users presses up/down
Small fixes OSD display, Schedule, SwitchTimer
Small fix to make it work on 19x3. (Looks like 19x0 auto selects right font)
- Pressing record start Instant server recording.
+ Pressing record start Instant server recording. (Works only correct if channels on Vip & Server are the same)
+ Recording info shows channelnumber.
0.16 EPG/schedule info remove on channel switch
Exit Guide View removes epg/schedule info
diff --git a/index.html b/index.html
index a007702..fb8e93d 100644
--- a/index.html
+++ b/index.html
@@ -1910,7 +1910,7 @@ try {
function LoadTimersServer() {
try {
xmlhttp=new XMLHttpRequest();
- xmlhttp.open("GET",(RestFulAPI + "/timers.xml"),false); // ?" + new Date().getTime()),false);
+ xmlhttp.open("GET",(RestFulAPI + "/timers.xml?" + new Date().getTime()),false); //"),false); //
xmlhttp.send();
xmlDoc=xmlhttp.responseXML;
var x=xmlDoc.getElementsByTagName("timer");
@@ -1931,10 +1931,12 @@ try {
timersName[i] = x[i].getElementsByTagName("param")[15].childNodes[0].nodeValue + fill;
if (timersFlag[i] == "1") {
timers[i] = "\uE003\uE00C\uE003";
- } else if (timersFlag[i] == "9") {
+ } else if (timersFlag[i] == "9" || timersFlag[i] == "11" ) {
timers[i] = "\uE003\uE00B\uE003";
- } else {
+ } else if (timersFlag[i] == "0") {
timers[i] = "\uE003\uE003\uE003";
+ } else {
+ timers[i] = "\uE003?\uE003";
}
timersFile[i] = x[i].getElementsByTagName("param")[14].childNodes[0].nodeValue + fill + fill;
timers[i] = timers[i] + timersDays[i] + "\uE003" + timersStrt[i] + "\uE003" + timersStop[i] + "\uE003" + Left(timersName[i],8) + "\uE003" + Left(timersFile[i],15) + "\n" ;
@@ -2368,6 +2370,9 @@ try {
recStrt[i] = (x[i].getElementsByTagName("start")[0].childNodes[0].nodeValue);
rec_New[i] = (x[i].getElementsByTagName("isnew")[0].childNodes[0].nodeValue);
recGUID[i] = (x[i].getElementsByTagName("guid")[0].childNodes[0].nodeValue);
+ recDummy = recGUID[i].split(".");
+ recDummy = recDummy[(recDummy.length-2)].split("-");
+ recChan[i] = recDummy[0];
}
MakeRecList();
getRecOK = 1;
@@ -2824,10 +2829,9 @@ function ShowInfo() {
m = date.getMinutes();
h=addzero(h);
m=addzero(m);
-
result = ''+days[day]+' '+d+' '+months[month]+' '+year+' '+h+':'+m;
- osdepginfo.innerHTML = "<center><pre style='color:white;'>" + Left(recTitl[currMed],60) + "\n " + result + "\n " + (recDura[currMed] / 60).toFixed(0) + " Minutes \n</pre><p>" + Left(recDesc[currMed],750) + "</p></center>";
+ osdepginfo.innerHTML = "<center><pre style='color:white;'>" + Left(recTitl[currMed],60) + "\n " + result + "\n " + (recDura[currMed] / 60).toFixed(0) + " Minutes \n " + recChan[currMed] + "\n </pre><p>" + Left(recDesc[currMed],750) + "</p></center>";
}
diff --git a/settings.js b/settings.js
index 091cbde..48bf127 100644
--- a/settings.js
+++ b/settings.js
@@ -189,6 +189,8 @@ var recList = new Array(); // used to verify if the right recording is going to
var recMark = new Array(); // marks made in the recording, eg by Noad, Markad
var rec_New = new Array(); // Flag if recording is new (unseen)
var recGUID = new Array(); // GUID of recording
+var recChan = new Array(); // Channel ID
+var recDummy= new Array(); //
var posMark = 0;
var recMap = 0;