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) --- History | 1 + index.html | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/History b/History index 6ba71f0..ce3bebf 100644 --- a/History +++ b/History @@ -19,6 +19,7 @@ VDR 1.7.29 / 2.1.1 Sort the Recordingslist so no double maps are shown Volume steps are 1, if volume < 5 in EPG/ Guide view you can switch groups with << and >> (Live Update only if 19x3 with pip enabled image) + SmartwebTV getmarks added (no more restfulapi getmarks) 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 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