issue #7 #10 NETFLIX,YOUTUBE실행시 한글 및 영문으로 구동되도록 수정. YOUTUBE및 NETFLIX종료시 TV OSD출력 이슈 해결.

This commit is contained in:
Paul Kim
2023-02-14 18:16:55 +09:00
parent 7677b903d8
commit 4fd1762d4b
3 changed files with 77 additions and 28 deletions

View File

@@ -602,27 +602,18 @@ HotelTV.LoadAppFull = async function() {
let recvMsg = e.data;
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret} ::> ${recvMsg.data}`);
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret}`);
if (recvMsg.event == "update_epg") {
if (recvMsg.ret === "OK") {
HotelTV.epg = recvMsg.data;
HotelTV.ui_appfull.UpdateEpg();
}
} else if (recvMsg.event == "update_flight") {
if (recvMsg.ret === "OK") {
HotelTV.flight = { "count": recvMsg.data.count, "info": recvMsg.data.items };
}
} else if (recvMsg.event == "update_weather") {
// if (recvMsg.event == "update_epg") {
// if (recvMsg.ret === "OK") {
// HotelTV.epg = recvMsg.data;
// HotelTV.ui_appfull.UpdateEpg();
// }
// } else if (recvMsg.event == "update_news") {
// if (recvMsg.ret === "OK") {
// HotelTV.news = recvMsg.data;
// }
// } else if (recvMsg.event == "update_flight") {
// if (recvMsg.ret === "OK") {
// let x2js = new X2JS();
// _rspJson = x2js.xml2json($.parseXML(recvMsg.data));
// HotelTV.flight = { "count": Number(_rspJson.response.body.totalCount), "info": _rspJson.response.body.items.item };
// }
// } else if (recvMsg.event == "update_weather") {
// }
if (recvMsg.event == "update_report") {
} else if (recvMsg.event == "update_report") {
HotelTV.hcap.GetUptime();
HotelTV.hcap.GetDeviceUsage().then(_usage => {
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);