From 01615f6463ed80a02d0b02a34a6cee38cfb670c5 Mon Sep 17 00:00:00 2001
From: "M. Voerman" " + EPG[0][7][currChan] + " " + EPG[1][7][currChan] + " " + EPG[0][7][currChan] + " " + EPG[1][7][currChan] + " " + currChan + "\uE003" + channelsnames[currChan] + " " + AvInfo[currChan] + " " + EPG[0][7][currChan] + EPG[0][9][currChan] + EPG[0][8][currChan] + " " + EPG[0][4][currChan] + " " + Left(EPG[0][5][currChan],750) + " " + currChan + "\uE003" + channelsnames[currChan] + " " + EPG[1][7][currChan] + EPG[1][9][currChan] + EPG[1][8][currChan] + " " + EPG[1][4][currChan] + " " + Left(EPG[1][5][currChan],750) + " " + currChan + "\uE003" + channelsnames[currChan] + " " + AvInfo[currChan] + " " + EPG[0][7][currChan] + EPG[0][9][currChan] + EPG[0][8][currChan] + " " + EPG[0][4][currChan] + " " + Left(EPG[0][5][currChan],750) + " " + currChan + "\uE003" + channelsnames[currChan] + " " + EPG[1][7][currChan] + EPG[1][9][currChan] + EPG[1][8][currChan] + " " + EPG[1][4][currChan] + " " + Left(EPG[1][5][currChan],750) + " " + th + ":" + tm + " " + th + ":" + tm + " " + lang_prio_dyn[audio_dyn] + " ";
+ osdlang.innerHTML = "
" + "
";
setTimeout("osdlang.style.opacity = 0; ", 3000);
}
}
@@ -915,7 +915,7 @@ function onKeyDown(event) {
showOSD();
GetEPG(currChan);
updateOSDtime(currChan);
- osdepg.innerHTML = " " + lang_prio_dyn[audio_dyn] + "
" + EPG[0][7][currChan] + "\n" + EPG[1][7][currChan] + "
";
// showOSD();
} else {
CheckChannel(Change);
@@ -1347,7 +1347,7 @@ function showVolume() {
if (osdVolumetimeout) {
clearTimeout(osdVolumetimeout);
}
- osdvolume.innerHTML = Lang[1] + " : " + Volume + "% \n\uE007" + (new Array(Volume)).join("\uE008") + (new Array(100 - Volume)).join("\uE009") + "\uE00A";
+ osdvolume.innerHTML = "" + Lang[1] + " : " + Volume + "% \n\uE007" + (new Array(Volume)).join("\uE008") + (new Array(100 - Volume)).join("\uE009") + "\uE00A";
osdvolume.style.opacity = 1;
osdVolumetimeout = setTimeout("osdvolume.style.opacity = 0;", ShowOsdTime);
}
@@ -1380,15 +1380,15 @@ function OSDchannr(channr) {
}
function OSDhtml(){
- osdtime.innerHTML = result;
+ osdtime.innerHTML = "" + result + "";
if (ShowSource == 1) {
- osdname.innerHTML = channels[currChan].split("-")[0] + "\uE003" + Left(channelsnames[currChan],30);
+ osdname.innerHTML = "" + channels[currChan].split("-")[0] + "\uE003" + Left(channelsnames[currChan],30) + "";
} else {
- osdname.innerHTML = Left(channelsnames[currChan],30);
+ osdname.innerHTML = "" + Left(channelsnames[currChan],30) + "";
}
- osdepg.innerHTML = "
" + EPG[0][7][currChan] + "\n" + EPG[1][7][currChan] + "
";
+ osdepginfo.innerHTML = "" + Lang[2] + Left(ProgName,30) + "\n" + Lang[3] + channelsnames[currChan] + "\n" + x + "
";
+ switchtimer.innerHTML = "" + Lang[2] + Left(ProgName,30) + "\n" + Lang[3] + channelsnames[currChan] + "\n" + x + "
";
setOSDtimer();
switchtimer.style.opacity = 1;
@@ -1504,16 +1504,15 @@ function setOSDtimer() {
var th = tijd.getHours();
th=addzero(th);
tm=addzero(tm);
- osdtimer.innerHTML = "" + SearchTimer[timerID] + "
";
osdepginfo.style.opacity = 1 - osdepginfo.style.opacity;
} else if (menu == 10) {
if (protChn[ChanGroup] !== 1 && ChanGroup !== Fav_group) {
@@ -3246,7 +3245,7 @@ function ShowSearchTimerInfo() {
}
- osdepginfo.innerHTML = "" + searchtimersSearch[timerID] + "\n
" + info1 + "
" ;
+ osdepginfo.innerHTML = "" + searchtimersSearch[timerID] + "\n " + info1 + "
" ;
}
@@ -3609,7 +3608,7 @@ if (DelisOK) {
if (lang_prio_dyn.length > 1) {
is.setObject("cfg.media.audio.languagepriority",lang_prio_dyn[audio_dyn] + "," + lang_prio[audio],is.STORAGE_PERMANENT);
osdlang.style.opacity = 1;
- osdlang.innerHTML = " " + lang_prio_dyn[audio_dyn] + " ";
+ osdlang.innerHTML = "
" + "
";
setTimeout("osdlang.style.opacity = 0; ", 3000);
}
break;
@@ -4011,13 +4010,13 @@ try {
}
if (nrMedia!==0) { getRecOK = 1; } else {
getRecOK = 0;
- medialist.innerHTML = " " + lang_prio_dyn[audio_dyn] + "
" + Lang[38] + "
";
+ medialist.innerHTML = "\n\n\n" + Lang[37] + "
" + Lang[38] + "
";
}
} catch(e) {
alert("Get Recordings problem: " + e);
getRecOK = 0;
- medialist.innerHTML = "\n\n\n" + Lang[37] + "
" + Lang[38] + "
";
+ medialist.innerHTML = "\n\n\n" + Lang[39] + "
" + Lang[38] + "
";
}
}
@@ -4572,7 +4571,7 @@ try {
} catch(e) {
alert("Get EPG problem: " + e);
getRecOK = 0;
- medialist.innerHTML = "\n\n\n" + Lang[39] + "
" + Lang[50] + "
";
+ medialist.innerHTML = "\n\n\n" + Lang[51] + "
" + Lang[50] + "
";
}
}
@@ -4626,7 +4625,7 @@ function getSchedule(schchan){
} else {
getRecOK = 0;
- medialist.innerHTML = "\n\n\n" + Lang[51] + "
" + Lang[11] + "
";
+ medialist.innerHTML = "\n\n\n" + Lang[52] + "
" + Lang[11] + "
";
if (experimental) {
medialist.innerHTML += "\n\n\n" + Lang[52] + "
";
@@ -4635,7 +4634,7 @@ function getSchedule(schchan){
}
} catch(e) {
getRecOK = 0;
- medialist.innerHTML = "
" + Lang[11] + "
";
+ medialist.innerHTML = "\n\n\n" + Lang[53] + "
" + Lang[11] + "
";
}
}
@@ -4882,13 +4881,13 @@ if (get_recordings == 1) {
var x = (Number(recDura[currMed])/60).toFixed(0);
if (pos/60 > x) { x = (pos/60).toFixed(0);}
date_time();
- osdmediatime.innerHTML = result;
+ osdmediatime.innerHTML = "" + result + "";
date_time_rec();
osdmedia.innerHTML = "\n\n\n" + Lang[53] + "
\n " + (pos/60).toFixed(0) + " / " + x + " " + Left(recTitl[currMed],40) + "\n " + pos4 + "\n " + result + "
";
} else if ( get_recordings == 2) {
var pos = position + (mediaPlayer.getPosition()/1000);
date_time();
- osdmediatime.innerHTML = result;
+ osdmediatime.innerHTML = "" + result + "";
osdmedia.innerHTML = " \n " + (pos/60).toFixed(0) + " \n " + Left(recTitl[currMed],40) + "\n \n " + recStrt[currMed] + "
";
}
}
@@ -4902,7 +4901,7 @@ function ShowInfo() {
+ "\n
" + AvInfo[currMed] + "
" + result + "\n " + "???" + Lang[54] - + "
Sorry STREAMDEV-plugin : " + Lang[37] + "
"; + + "Sorry STREAMDEV-plugin : " + Lang[37] + "
"; } else { date = new Date(Number(recStrt[currMed])*1000); year = date.getFullYear(); @@ -4920,11 +4919,11 @@ function ShowInfo() { + "" + AvInfo[currMed] + "
" + result + "\n " + (recDura[currMed] / 60).toFixed(0) + Lang[54] + "\n " + recChan[currMed] + " " - + "\n
" + Left(recDesc[currMed],750) + "
"; + + "\n" + Left(recDesc[currMed],750) + "
"; } else { //info for non-vdr recordings osdepginfo.innerHTML = "" + Left(recTitl[currMed],60) - + "\n
" + AvInfo[currMed] + " " + "\n \n
"; + + "\n" + AvInfo[currMed] + " " + "\n \n
"; } } } diff --git a/javascript/settings2.js b/javascript/settings2.js index c173f7a..3aa5a91 100644 --- a/javascript/settings2.js +++ b/javascript/settings2.js @@ -138,7 +138,7 @@ function showChannelList() { } htmlstring = htmlstring + ""; channellist.innerHTML = htmlstring; - chanlistepg.innerHTML = "" + EPG[NowNext][1][currChan] + "
" + Left(EPG[NowNext][4][currChan],250) + "
" ; + chanlistepg.innerHTML = "" + EPG[NowNext][1][currChan] + "
" + Left(EPG[NowNext][4][currChan],250) + "
" ; } diff --git a/skins/blue.css b/skins/blue.css index eccc35f..cefd169 100644 --- a/skins/blue.css +++ b/skins/blue.css @@ -53,6 +53,102 @@ font-size:81px; } + + .osdname576{ + color : black; + font-size:26px; + } + + .osdname720{ + color : black; + font-size:34px; + } + + .osdname1080{ + color : black; + font-size:51px; + } + + .osdtime576 { + color : white; + font-size:17px; + text-align: right; + } + + .osdtime720 { + color : white; + font-size:22px; + text-align: right; + } + + .osdtime1080 { + color : white; + font-size:35px; + text-align: right; + } + + pre.osdlang576 { + color :white; + font-size:16px; + } + + pre.osdlang720 { + color :white; + font-size:20px; + } + + pre.osdlang1080 { + color :white; + font-size:30px; + } + + + + .osdca576 { + color : black; + font-size:32px; + } + + .osdca720 { + color : black; + font-size:40px; + } + + .osdca1080 { + color : black; + font-size:60px; + } + + pre.osdvolume576 { + color : green; + font-size:35px; + } + + pre.osdvolume720 { + color : green; + font-size:44px; + } + + pre.osdvolume1080 { + color : green; + font-size:66px; + } + + + pre.osdepg576 { + color : white; + font-size:18px; + } + + pre.osdepg720 { + color : white; + font-size:23px; + } + pre.osdepg1080 { + color : white; + font-size:36px; + } + .notset { color :grey; } @@ -174,20 +270,71 @@ p.epg_info { color:yellow; text-align: center; + font-size:39px; + } + + p.epg_info_long { + color:yellow; + text-align: center; + font-size:39px; } - pre.color_switchtimer { + + pre.color_switchtimer576 { background : #660066; + font-size:19px; + color :white; } - pre.color_default { + pre.color_switchtimer720 { + background : #660066; + font-size:24px; + color :white; + } + + pre.color_switchtimer1080 { + background : #660066; + font-size:36px; + color :white; + } + + pre.color_default576 { background : green; + font-size:19px; + color :white; } - pre.color_error { + pre.color_default720 { + background : green; + font-size:24px; + color :white; + } + + pre.color_default1080 { + background : green; + font-size:36px; + color :white; + } + + pre.color_error576 { background : red; + font-size:19px; + color :white; + } + + pre.color_error720 { + background : red; + font-size:24px; + color :white; } + pre.color_error1080 { + background : red; + font-size:36px; + color :white; + } + + h1.mainmenu576 { font-size:35px; color:white; @@ -263,24 +410,56 @@ text-align: center; } -/* */ - p.epg { - font-size:36px; + p.epg576 { + font-size:19px; color:black; text-align: center; } - p.list { - font-size:34px; + p.epg720 { + font-size:24px; + color:black; + text-align: center; + } + + p.epg1080 { + font-size:36px; + color:black; + text-align: center; + } + + p.list576 { + font-size:18px; color:black; text-align: center; } - p.osdtimer { + p.list720 { + font-size:23px; + color:black; + text-align: center; + } + + p.list1080 { font-size:34px; color:black; + text-align: center; } + p.osdtimer576 { + font-size:18px; + color:black; + } + + p.osdtimer720 { + font-size:23px; + color:black; + } + + p.osdtimer1080 { + font-size:34px; + color:black; + } div#osdmain { position : absolute; @@ -305,7 +484,7 @@ color : black; text-align: center; } - + div#osdname { z-index : 505; position : absolute; @@ -313,8 +492,6 @@ height : 4%; left : 3%; top : 20%; - color : black; - font-size:51px; } @@ -332,20 +509,14 @@ width : 42%; right : 5%; top : 7%; - color : white; - font-size:35px; - text-align: right; } - div#osdepg { z-index : 505; position : absolute; width : 63%; left : 17%; top : 30%; - color : white; - font-size:36px; } div#osdca { @@ -354,11 +525,8 @@ width : 5%; left : 75%; top : 20%; - color : black; - font-size:60px; } - div#channellist { z-index : 400; position : absolute; @@ -369,6 +537,8 @@ background : #bbb; } +/* */ + div#colorkeys { z-index : 401; position : absolute; @@ -378,6 +548,26 @@ font-size:36px; } +/* */ + + div#osdmediatime { + z-index : 506; + position : absolute; + width : 42%; + right : 15%; + top : 63%; + color : white; + } + + div#osdlang { + width :7%; + position :absolute; + left :76%; + top :9%; + z-index :515; + opacity :0; + } + div#chanlistepg { z-index : 402; position : absolute; @@ -393,8 +583,6 @@ left : 10%; top : 80%; opacity : 0; - color : green; - font-size:66px; } div#osdmedia { @@ -408,19 +596,6 @@ background : #3366ff; } - div#osdmediatime { - z-index : 506; - position : absolute; - width : 42%; - right : 15%; - top : 63%; - color : white; - font-size:35px; - text-align: right; - } - - - div#schedule { width :50%; height :75%; @@ -442,17 +617,6 @@ opacity :0; } - div#osdlang { - width :7%; - position :absolute; - left :76%; - top :9%; - z-index :515; - opacity :0; - color :white; - font-size:30px; - } - div#mainmenu { width :80%; position :absolute; @@ -485,9 +649,7 @@ z-index :530; opacity :0; -webkit-border-radius:25px; - color :white; - font-size:36px; - background :green; + background :lightblue; } div#osdepginfo { @@ -499,7 +661,6 @@ opacity :0; -webkit-border-radius:50px; background : #3366ff; - font-size:39px; } div#osdepginfonext { @@ -511,6 +672,5 @@ opacity :0; -webkit-border-radius:50px; background : #3366ff; - font-size:39px; } -- cgit v1.2.3