diff options
author | M. Voerman <rekordc@gmail.com> | 2014-08-01 23:57:51 +0200 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2014-08-01 23:57:51 +0200 |
commit | 9ae052cb8e623ebaac90ff4a43ee4b4ede55a51a (patch) | |
tree | b0cbc3535c81bf25c3e7570834876154da2e0d58 /index.html | |
parent | 2edd2fec1e4376e76c6935ebfab23dc86dfdb1b6 (diff) | |
download | vdr-vipclient-9ae052cb8e623ebaac90ff4a43ee4b4ede55a51a.tar.gz vdr-vipclient-9ae052cb8e623ebaac90ff4a43ee4b4ede55a51a.tar.bz2 |
Removed some old code
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 43 |
1 files changed, 4 insertions, 39 deletions
@@ -2486,8 +2486,6 @@ function onKeyMenu(keyCode) { InitMenu(menu); break; case "Teletext": - UseNewReclist = 1 - UseNewReclist; - alert(UseNewReclist); break; case "TV": break; @@ -3873,7 +3871,7 @@ try { recTitl.length = 0; rec_lst.length = 0; - if (UseNewReclist && recPath == "/recordings.xml") { + if (recPath == "/recordings.xml") { for (var i=0;i<x.length;i++) { rec_lst[i] = new Array(); @@ -3923,17 +3921,9 @@ try { recStrt[i] = (x[i].getElementsByTagName("start")[0].childNodes[0].nodeValue); rec_New[i] = (x[i].getElementsByTagName("isnew")[0].childNodes[0].nodeValue); recGUID[i] = (x[i].getElementsByTagName("guid")[0].childNodes[0].nodeValue); - if (recPath == "/recordings.xml") { - //Get channel number from recordings - recDummy = recGUID[i].split("."); - recDummy = recDummy[(recDummy.length-2)].split("-"); - recChan[i] = recDummy[0] + "\uE003-\uE003" + channelsnames[(recDummy[0])]; - recProt[i] = protChn[Number(Left((recDummy[0] / 1000),1))]; - } else { - //Media directory - recChan[i] = "Media File"; - recProt[i] = 0; // No protection for Media Files. - } + //Media directory + recChan[i] = "Media File"; + recProt[i] = 0; // No protection for Media Files. } // try to fix display double entries in the last directory. (Only shown for some time after deleting files, should be fixed now) recProt[i] = 1; @@ -3993,7 +3983,6 @@ try { recTitl.length = 0; rec_lst.length = 0; - if (UseNewReclist) { for (var i=0;i<x.length;i++) { rec_lst[i] = new Array(); @@ -4028,30 +4017,7 @@ try { recProt[i] = rec_lst[i][8]; } recProt[i] = 1; - } else { - - // old recordings list function - // also used for media listing - - for (var i=0;i<x.length;i++) { - recTitl[i] = (x[i].getElementsByTagName("param")[1].childNodes[0].nodeValue); - recTitl[i] = recTitl[i].split("~"); - recLink[i] = (x[i].getElementsByTagName("param")[2].childNodes[0].nodeValue); - recDesc[i] = (x[i].getElementsByTagName("param")[13].childNodes[0].nodeValue); - recDura[i] = (x[i].getElementsByTagName("param")[8].childNodes[0].nodeValue); - recStrt[i] = (x[i].getElementsByTagName("param")[14].childNodes[0].nodeValue); - rec_New[i] = (x[i].getElementsByTagName("param")[4].childNodes[0].nodeValue); - recGUID[i] = (x[i].getElementsByTagName("param")[0].childNodes[0].nodeValue); - //Get channel number from recordings - recDummy = recLink[i].split("."); - recDummy = recDummy[(recDummy.length-2)].split("-"); - recChan[i] = recDummy[0] + "\uE003-\uE003" + channelsnames[(recDummy[0])]; - recProt[i] = protChn[Number(Left((recDummy[0] / 1000),1))]; - } // try to fix display double entries in the last directory. (Only shown for some time after deleting files, should be fixed now) - recProt[i] = 1; - } - } @@ -4414,7 +4380,6 @@ function MakeRecList_sublevel(GroupID) { recList[i] = "" ; } recSubGroup[i] = xx; - alert(recSubGroup[i] + " " + recList[i]); } else { recSubGroup[i] = 0; var tmp = ""; |