summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels6.js4
-rw-r--r--index.html21
2 files changed, 16 insertions, 9 deletions
diff --git a/channels6.js b/channels6.js
index 0e409b4..a2669a9 100644
--- a/channels6.js
+++ b/channels6.js
@@ -39,10 +39,6 @@ channelsnames[6014] = "FREE XTV (S)";
channels[6014]="S13.0E-318-8900-2099";
channelsnames[6015] = "French Lover (S)";
channels[6015]="S13.0E-318-8900-2098";
-channelsnames[6016] = "Hustler TV (S)";
-channels[6016]="S5.0E-1-1-9";
-channelsnames[6017] = "PB (S)";
-channels[6017]="S5.0E-65535-1-10";
channelsnames[6018] = "Hot (S)";
channels[6018]="S30.0W-54-37-1666";
channelsnames[6019] = "Leo TV (S)";
diff --git a/index.html b/index.html
index 287fcd7..b5a596f 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@
//
//
-var Version = "0.19.2"
+var Version = "0.19.3"
for (var x = 0; x < 10; x++) {
if (minChan[x]) {
@@ -2254,7 +2254,10 @@ if (DelisOK) {
}
break;
case "Red":
- if (getRecOK == 1) { DelRec(); }
+ if (getRecOK == 1 && (recGroup[currMed] == 0 || subgroup == 1)) {
+ // Only delete item if it isn't a subdir marker
+ DelRec();
+ }
if (getRecOK == 2) { //set timer
settimer(recStrt[currMed],recTitl[currMed],recDura[currMed]);
switchtimer.style.opacity = 1;
@@ -2262,8 +2265,8 @@ if (DelisOK) {
}
break;
case "Blue":
+ // only show info if not a subdir marker or if in EPG mode
if ( (getRecOK == 1 && (recGroup[currMed] == 0 || subgroup == 1)) || getRecOK == 2) {
-// (recordings and (file not in subdir or in subdir )) or EPG
ShowInfo();
osdepginfo.style.opacity = 1 - osdepginfo.style.opacity;
}
@@ -2726,16 +2729,24 @@ function showMediaList() {
osdmedia.style.opacity = 0;
var liststyle = "";
listMed = currMed - 1;
+
if (nrMedia < 14) {var MaxMed = nrMedia; } else { var MaxMed = 14; }
if (getRecOK == 1) {
var htmlstring = "<h1><center style='font-size:" + fsRec + ";color:white;'> RECORDINGS (free " + (100 - perc_space) + "%, " + (free_space/1024).toFixed(0) + " GB) </center></h1><table border='0'><tr>";
- if (MaxInGroup < 14) {var MaxMed = MaxInGroup; }
+ if (MaxInGroup < 14 && subgroup) { MaxMed = MaxInGroup; }
+ if (!subgroup) {
+ MaxMed = -1;
+ for(var i=0; i<=nrMedia; i++) {
+ if (recList[i]) { MaxMed = MaxMed + 1;}
+ }
+ if (MaxMed > 14) { MaxMed = 14; }
+ }
} else {
var htmlstring = "<h1><center style='font-size:" + fsRec + ";color:white;'> EPG " + channelsnames[currChan] + " </center></h1><table border='0'><tr>";
}
- for(var i=currMed; i<(currMed + MaxMed); i++) {
+ for(var i=currMed; i<=currMed + MaxMed; i++) {
if (listMed<0) {
listMed=nrMedia;
}