summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--History4
-rw-r--r--index.html33
2 files changed, 31 insertions, 6 deletions
diff --git a/History b/History
index d94ae16..9a4a520 100644
--- a/History
+++ b/History
@@ -5,8 +5,8 @@ VDR 1.7.29
0.23 Infobox for connection Error, not only ERRR on display but also the Infobox
Updated EPG filter for Sat.1/Pro7, Rai (13E), TVP (19E)
- channels update.
-
+ channels update.
+ Dynamic audio selection only if number of audio channels > 1 and not "NAR" (uk mostly)
0.22 Updated EPG filter for 42E, canal sat (tid 1088), canal+ (tid 1060), CDS (veronica, iConcerts, Animax)
diff --git a/index.html b/index.html
index 95e897f..57c4192 100644
--- a/index.html
+++ b/index.html
@@ -410,8 +410,13 @@ for(x=0; x<cList.length;x++) {
// AUDIO_CHANNEL_MODE_DUAL_MONO_STEREO = 3
// AUDIO_CHANNEL_MODE_DUAL_MONO_MIXED = 4
+ if (lang_prio_dyn[xx] !=="NAR") {
+ xx = xx + 1;
+ } else {
+ lang_prio_dyn.length = xx;
+ }
+
- xx = xx + 1;
}
if(cList[x].type == 1) {
Radioicon = "\uE00F";
@@ -640,11 +645,13 @@ function onKeyDown(event) {
if(isFullscreen) {
if(!epgactive) {
if (audio_dyn < (lang_prio_dyn.length -1)) { audio_dyn = audio_dyn + 1} else { audio_dyn = 0 }
- is = toi.informationService;
+ if (lang_prio_dyn.length > 1) {
+ is = toi.informationService;
is.setObject("cfg.media.audio.languagepriority",lang_prio_dyn[audio_dyn] + "," + lang_prio[audio],is.STORAGE_PERMANENT);
osdlang.style.opacity = 1;
osdlang.innerHTML = "<img src='unmute.png'> " + lang_prio_dyn[audio_dyn] + " ";
setTimeout("osdlang.style.opacity = 0; ", 3000);
+ }
}
} else if(isSchedule == 0 && !epgactive){
colorkeys.innerHTML = "<font color=red> " + NN[3 + NowNext] + " </font><font color=green> " + NN[NowNext] + " </font><font color=yellow> " + NN[2] + " </font><font color=blue> " + NN[5] + " </font>";
@@ -1736,8 +1743,13 @@ function StreamInfo(si) {
is.setObject("cfg.locale.ui","pol",is.STORAGE_VOLATILE);
}
+ if((SI[0]=="S19.2E" && SI[2]=="1111" && SI[3]=="7290") ) {
+ //Sky News on WDR HD transponder
+ is.setObject("cfg.locale.ui","eng",is.STORAGE_VOLATILE);
+ }
- if(SI[0]=="S19.2E" && ( (SI[2]=="1018") || (SI[2]=="1020") || (SI[2]=="1022") || (SI[2]=="1024") || (SI[2]=="1068") || (SI[2]=="1070") || (SI[2]=="1072") || (SI[2]=="1074") || (SI[2]=="1076") || (SI[2]=="1080") || (SI[2]=="1084") || (SI[2]=="1086") || (SI[2]=="1090") || (SI[2]=="1092") || (SI[2]=="1094") || (SI[2]=="1096") || (SI[2]=="1100") || (SI[2]=="1102") || (SI[2]=="1106") || (SI[2]=="1110") || (SI[2]=="1112") || (SI[2]=="1114") || (SI[2]=="1116") || (SI[2]=="1118") || (SI[2]=="1120"))) {
+
+ if(SI[0]=="S19.2E" && ( (SI[2]=="1018") || (SI[2]=="1020") || (SI[2]=="1022") || (SI[2]=="1024") || (SI[2]=="1026") || (SI[2]=="1068") || (SI[2]=="1070") || (SI[2]=="1072") || (SI[2]=="1074") || (SI[2]=="1076") || (SI[2]=="1080") || (SI[2]=="1084") || (SI[2]=="1086") || (SI[2]=="1090") || (SI[2]=="1092") || (SI[2]=="1094") || (SI[2]=="1096") || (SI[2]=="1100") || (SI[2]=="1102") || (SI[2]=="1106") || (SI[2]=="1110") || (SI[2]=="1112") || (SI[2]=="1114") || (SI[2]=="1116") || (SI[2]=="1118") || (SI[2]=="1120"))) {
//CanalSat S19.2
is.setObject("cfg.locale.ui","fra",is.STORAGE_VOLATILE);
}
@@ -1774,6 +1786,17 @@ function StreamInfo(si) {
is.setObject("cfg.locale.ui","fre",is.STORAGE_VOLATILE);
}
+ //Euronews / Eurosport
+ if(SI[0]=="S13.0E" && SI[1]=="318" && SI[2]=="200") {
+ is.setObject("cfg.locale.ui","fra",is.STORAGE_VOLATILE);
+ }
+
+ //bloomberg 19.2E
+ if(SI[0]=="S19.2E" && SI[2]=="1026" && SI[3]=="10067") {
+ is.setObject("cfg.locale.ui","eng",is.STORAGE_VOLATILE);
+ }
+
+
//Canal+
if(SI[0]=="S19.2E" && SI[1]=="1" && SI[2]=="1060" ) {
is.setObject("cfg.locale.ui","spa",is.STORAGE_VOLATILE);
@@ -3043,12 +3066,14 @@ if (DelisOK) {
ShowMediaOSD();
break;
case "Green":
- if (audio_dyn < (lang_prio_dyn.length -1)) { audio_dyn = audio_dyn + 1} else { audio_dyn = 0 }
+ if (audio_dyn < (lang_prio_dyn.length -1)) { audio_dyn = audio_dyn + 1} else { audio_dyn = 0 }
+ if (lang_prio_dyn.length > 1) {
is = toi.informationService;
is.setObject("cfg.media.audio.languagepriority",lang_prio_dyn[audio_dyn] + "," + lang_prio[audio],is.STORAGE_PERMANENT);
osdlang.style.opacity = 1;
osdlang.innerHTML = "<img src='unmute.png'> " + lang_prio_dyn[audio_dyn] + " ";
setTimeout("osdlang.style.opacity = 0; ", 3000);
+ }
break;
case "Yellow":
ShowSubs = 1 - ShowSubs;