diff options
author | M. Voerman <rekordc@gmail.com> | 2013-02-11 14:21:23 +0100 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2013-02-11 14:21:23 +0100 |
commit | 2ff9d0a0cf65a581e13347ec388c68b2edd56c30 (patch) | |
tree | 32d77d8c27668874769c892a6a909c742a915c83 /index.html | |
parent | c7c3dd4888b70e4c32a384c699d9378b9dff319f (diff) | |
download | vdr-vipclient-2ff9d0a0cf65a581e13347ec388c68b2edd56c30.tar.gz vdr-vipclient-2ff9d0a0cf65a581e13347ec388c68b2edd56c30.tar.bz2 |
Limit Server EPG to X days (default = 3)
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ // // -var Version = "0.16" +var Version = "0.17" for (var x = 0; x < 10; x++) { if (minChan[x]) { @@ -2477,7 +2477,7 @@ function showMediaList() { function getServerSchedule() { try { xmlhttp=new XMLHttpRequest(); - xmlhttp.open("GET",(RestFulAPI + "/events/" + channels[currChan] + ".xml?limit=50&" + new Date().getTime()),false); + xmlhttp.open("GET",(RestFulAPI + "/events/" + channels[currChan] + ".xml?timespan=" + serverEPGdays + "&" + new Date().getTime()),false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML; var x=xmlDoc.getElementsByTagName("event"); |