summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History1
-rw-r--r--index.html4
2 files changed, 4 insertions, 1 deletions
diff --git a/History b/History
index cc68bf5..af506da 100644
--- a/History
+++ b/History
@@ -13,6 +13,7 @@ VDR 1.7.29 / 2.1.1
Dynamic OSD/Menu language selection
Removed action 'display EPG/Info' from key 'back', use 'blue' for epg/info
Some info while waiting for searchtimer info
+ Updated the resume function to work with the vdr 2.1.1 (changed to decimal ',')
0.22 Updated EPG filter for 42E, canal sat (tid 1088), canal+ (tid 1060), CDS (veronica, iConcerts, Animax)
diff --git a/index.html b/index.html
index 8cb6bad..6ad0bcc 100644
--- a/index.html
+++ b/index.html
@@ -3402,10 +3402,12 @@ function getResume() {
position = 0;
try {
var xmlhttp = new XMLHttpRequest();
+ var i = 0;
xmlhttp.open("GET", server_ip + recServ + "/getResume.xml?guid=" + recGUID[currMed] + "&" + new Date().getTime(), false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML;
- position = xmlDoc.getElementsByTagName("resume")[0].childNodes[0].nodeValue;
+ i = xmlDoc.getElementsByTagName("resume")[0].childNodes[0].nodeValue.split(",");
+ position = Number(i[0]);
} catch(e) {
alert("Getting Resume problem: " + e);
}