summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2014-03-16 15:57:32 +0100
committerM. Voerman <rekordc@gmail.com>2014-03-16 15:57:32 +0100
commit6505fa558f239d1dea1f14a61941c3a622c42ec5 (patch)
treedc998c325fab656d26e5d8f6ca2ecec72516b086 /index.html
parentbe843bf3602add0d338491643bc2c58df4bbd89e (diff)
downloadvdr-vipclient-6505fa558f239d1dea1f14a61941c3a622c42ec5.tar.gz
vdr-vipclient-6505fa558f239d1dea1f14a61941c3a622c42ec5.tar.bz2
Some fixes
Updates of channels
Diffstat (limited to 'index.html')
-rw-r--r--index.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/index.html b/index.html
index aedd7f6..7085081 100644
--- a/index.html
+++ b/index.html
@@ -1791,11 +1791,6 @@ function StreamInfo(si) {
is.setObject("cfg.locale.ui","eng",is.STORAGE_VOLATILE);
}
- if(SI[0]=="S19.2E" && SI[2]=="1037" && SI[3]=="5253" ) {
- //Animax
- is.setObject("cfg.locale.ui","eng",is.STORAGE_VOLATILE);
- }
-
if(SI[1]=="53" && (SI[3]=="2045") ) {
//Canal Digitaal/ TV Vlaanderen
is.setObject("cfg.locale.ui","fra",is.STORAGE_VOLATILE);
@@ -2883,12 +2878,14 @@ try {
SearchTimer[i] = SearchTimer[i] + "\uE003\uE016\uE003" + Lang[47] + "\uE003" + "\n";
} else {
//bit is used for dayofweek.
- var dowx = Math.abs(x[i].getElementsByTagName("dayofweek")[0].childNodes[0].nodeValue);
+ var dowx = x[i].getElementsByTagName("dayofweek")[0].childNodes[0].nodeValue;
var dow = "";
+ if (dowx > 0) { var y = 1;} else { var y = 0;}
+ dowx = Math.abs(dowx);
for (var dowi=0; dowi<7; dowi++)
{
var mask = 1 << dowi;
- if ((dowx & mask) != 0) { dow = dow + days[dowi] + "\uE003";}
+ if ((dowx & mask) != 0) { dow = dow + days[(dowi+y)] + "\uE003";}
}
SearchTimer[i] = SearchTimer[i] + "\uE003\uE017\uE003" + Lang[47] + "\uE003:\uE003" + dow + "\n";
}
@@ -3797,21 +3794,24 @@ function showMediaList() {
if (MaxMed < 0 ) { MaxMed = 0; }
for(var i=currMed; i<=currMed + MaxMed; i++) {
- if (listMed<0) { listMed=nrMedia; }
- if (listMed>nrMedia) { listMed= -1; }
+ if (listMed>=nrMedia) { listMed= -1; }
+ if (listMed<-1) { listMed=nrMedia; }
+// if (listMed>nrMedia) { listMed= -1; }
do
{
listMed = listMed + 1;
}
- while (!recList[listMed] && (listMed<nrMedia));
+ while (!recList[listMed] && (listMed<=nrMedia));
+ alert(listMed);
if ( listMed == currMed) {
liststyle = " style='background:" + color_bg + ";-webkit-border-radius:25px;";
} else {
liststyle = " style='";
}
+
if (recList[listMed]) {
//Solves empty string at the end.