summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2013-02-07 22:12:34 +0100
committerM. Voerman <rekordc@gmail.com>2013-02-07 22:12:34 +0100
commita97d2e56a38e511e46481c9a354bfa265eb1e195 (patch)
tree37a8160d72a0212611dfc51a3bae6d7119127502 /index.html
parent3917e34465adc7a7f8d8087d3f9f673f940a0061 (diff)
downloadvdr-vipclient-a97d2e56a38e511e46481c9a354bfa265eb1e195.tar.gz
vdr-vipclient-a97d2e56a38e511e46481c9a354bfa265eb1e195.tar.bz2
Now also the media menu from "VDR on SmartTV" plugin is supported
Diffstat (limited to 'index.html')
-rw-r--r--index.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/index.html b/index.html
index 2930fd1..b3967f1 100644
--- a/index.html
+++ b/index.html
@@ -179,6 +179,8 @@ function play(uri) {
if (ServerAdres[ChanGroup] == "MultiCast" ) {
SI=channels[currChan].split("-");
uri = SI[4];
+ } else if (ServerAdres[ChanGroup] == "FullURL" ) {
+ // uri = ready!
} else {
uri = ServerAdres[ChanGroup] + uri;
}
@@ -1543,6 +1545,7 @@ function onKeyMenu(keyCode) {
isSetupMenu = 0;
mediaList.style.opacity = 0.9;
mainmenu.style.opacity = 0;
+ recPath = "/recordings.xml";
setTimeout("getRecList();LoadMediaSettings();",100);
}
if (menu == 1) {
@@ -1632,6 +1635,11 @@ function onKeyMenu(keyCode) {
break;
case KEY_8:
if (menu == 0) {
+ isSetupMenu = 0;
+ mediaList.style.opacity = 0.9;
+ mainmenu.style.opacity = 0;
+ recPath = "/media.xml";
+ setTimeout("getRecList();LoadMediaSettings();",100);
}
if (menu == 1) {
@@ -1691,7 +1699,7 @@ function onKeyMenu(keyCode) {
function InitMenu(menu) {
if(menu == 0) { // Main Menu
- mainmenu.innerHTML = "<h1><center style='font-size:" + fsMenuMain + ";color:white;'> MainMenu \n ( " + Version + " )</center></h1><pre style='color:black;font-size:" + fsMenu + ";'> 1 - Settings \n 2 - Recordings \n 3 - Timers\n 4 - Timers from Server\n\n\n\n\n 9 - MPD Server Connection\n\n BLUE - Restart Portal </pre>";
+ mainmenu.innerHTML = "<h1><center style='font-size:" + fsMenuMain + ";color:white;'> MainMenu \n ( " + Version + " )</center></h1><pre style='color:black;font-size:" + fsMenu + ";'> 1 - Settings \n 2 - Recordings \n 3 - Timers\n 4 - Timers from Server\n\n\n\n 8 - Media Directory\n 9 - MPD Server Connection\n\n BLUE - Restart Portal </pre>";
}
if(menu == 1) { // settings menu
@@ -2264,7 +2272,7 @@ function getRecList() {
getVDRstatus();
try {
xmlhttp=new XMLHttpRequest();
- xmlhttp.open("GET",(recServ + "/recordings.xml?" + new Date().getTime()),false);
+ xmlhttp.open("GET",(recServ + recPath + "?" + new Date().getTime()),false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML;
var x=xmlDoc.getElementsByTagName("item");