From a4e96e8a052c64fe8b7bc8c8df090d928e267b0a Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Tue, 7 Jan 2014 00:57:29 +0100 Subject: SmartwebTV getmarks added (no more restfulapi getmarks) --- index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index b911b91..5355330 100644 --- a/index.html +++ b/index.html @@ -3469,26 +3469,29 @@ if (UseNewReclist && recPath == "/recordings.xml") { } } + function GetMarks() { try { posMark = 0; xmlhttp=new XMLHttpRequest(); - xmlhttp.open("GET",(server_ip + RestFulAPI + "/recordings/" + currMed + ".xml?marks=true&" + new Date().getTime()),false); + xmlhttp.open("GET",(server_ip + recServ + "/getMarks.xml?guid=" + recGUID[currMed] + "&" + new Date().getTime()),false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML; recMark = []; var x=xmlDoc.getElementsByTagName("mark"); for (var i=0;i