5 Commits

13 changed files with 11463 additions and 203 deletions

View File

@@ -3,11 +3,11 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="/procentric/application/css/acmeticker/style.css">
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="./theme/hoteltv.error.css">
<link rel="stylesheet" href="./css/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="./css/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="./css/acmeticker/style.css">
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
</head>
@@ -365,28 +365,28 @@
<!-- Standard & 3rd party Library -->
<script src="/procentric/application/lib/jquery-3.6.0.min.js"></script>
<script src="/procentric/application/lib/jquery.color-2.1.2.min.js"></script>
<script src="/procentric/application/lib/jquery.webticker.min.js"></script>
<script src="/procentric/application/lib/xml2json.js"></script>
<script src="/procentric/application/lib/owl.carousel.min.js"></script>
<script src="./lib/jquery-3.6.0.min.js"></script>
<script src="./lib/jquery.color-2.1.2.min.js"></script>
<script src="./lib/jquery.webticker.min.js"></script>
<script src="./lib/xml2json.js"></script>
<script src="./lib/owl.carousel.min.js"></script>
<!-- LG HCAP Library -->
<script src="/procentric/application/lib/hcap.js"></script>
<script src="/procentric/application/lib/idcap.js"></script>
<script src="./lib/hcap.js"></script>
<script src="./lib/idcap.js"></script>
<!-- CENTIRM HOTELTV Library -->
<script src="/procentric/application/lib/hoteltv.js"></script>
<script src="/procentric/application/lib/hoteltv.ui_utils.js"></script>
<script src="/procentric/application/lib/hoteltv.ui_appfull.js"></script>
<script src="/procentric/application/lib/hoteltv.hcap.js"></script>
<script src="/procentric/application/lib/hoteltv.api.js"></script>
<script src="./lib/hoteltv.js"></script>
<script src="./lib/hoteltv.ui_utils.js"></script>
<script src="./lib/hoteltv.ui_appfull.js"></script>
<script src="./lib/hoteltv.hcap.js"></script>
<script src="./lib/hoteltv.api.js"></script>
<!-- MQTT Library -->
<script src="/procentric/application/lib/mqtt.min.js"></script>
<script src="./lib/mqtt.min.js"></script>
<!-- ACMETICKER Library -->
<script src="/procentric/application/lib/acmeticker.js"></script>
<script src="./lib/acmeticker.js"></script>
<script>
@@ -410,7 +410,7 @@
"/hoteltv.app.full.popup.css"];
for ( let _idx=0; _idx<needed_css_files.length; _idx++ )
{
$('head:first').append('<link rel="stylesheet" type="text/css" href="/procentric/application/theme/'
$('head:first').append('<link rel="stylesheet" type="text/css" href="./theme/'
+ HotelTV.state['theme_root'] + needed_css_files[_idx] + '" />');
}
console.log("Documents loaded...")
@@ -439,10 +439,10 @@
}
break;
case 409:
HotelTV.hcap.PwrOff();
HotelTV.hal.PwrOff();
break;
case 457: // INFO Key
HotelTV.hcap.GetScrshot();
HotelTV.hal.GetScrshot();
break;
default:
//console.log(`KEY::${e.keyCode}`);

View File

@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="./theme/hoteltv.error.css">
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
</head>

View File

@@ -9,8 +9,8 @@
* Created at : 2020-11-26 02:21:56
* Last modified : 2020-11-26 15:31:40
*/
HotelTV.namespace('HotelTV.hcap');
HotelTV.hcap = (function() {
HotelTV.namespace('HotelTV.hal');
HotelTV.hal = (function() {
//// 의존 관계 선언
@@ -46,6 +46,11 @@ HotelTV.hcap = (function() {
'end_of_item'
];
let hcap_property_installer_menuItem_key = [
hcap.property.InstallerMenuItem.POWER_MANAGE,
hcap.property.InstallerMenuItem.MAX_VOLUME
];
const g_media = {
@@ -113,7 +118,7 @@ HotelTV.hcap = (function() {
};
/**
* HCAP Wrapper Function::> Get Device Properties(Realted HCAP API:hcap.property.setProperty)
* HCAP Wrapper Function::> Set Device Properties(Realted HCAP API:hcap.property.setProperty)
* @param {string} sz_key property key name.
* @param {object} value is object to setting property
*/
@@ -129,6 +134,39 @@ HotelTV.hcap = (function() {
});
};
/**
* HCAP Wrapper Function::> Get Installer Menu Item(Realted HCAP API:hcap.property.getInstallerMenuItem)
* @param {string} sz_key installer menu item key name.
*/
function __hcapfxn_get_installer_menuItem(sz_key) {
return new Promise((resolve, reject) => {
let param = {
"key": sz_key,
"onSuccess": function(s) { resolve({ "key": sz_key, "value": s.value }) },
//"onFailure": function(f) { reject({ "key": sz_key, "value": "unknown" }) }
"onFailure": function(f) { resolve({ "key": sz_key, "value": "unknown" }) }
};
hcap.property.getInstallerMenuItem(param);
});
};
/**
* HCAP Wrapper Function::> Set Installer Menu Item(Realted HCAP API:hcap.property.setInstallerMenuItem)
* @param {string} sz_key installer menu item key name.
* @param {object} value is object to setting installer menu item
*/
function __hcapfxn_set_installer_menuItem(sz_key, value) {
return new Promise((resolve, reject) => {
let param = {
"key": sz_key,
"value": value.toString(),
"onSuccess": function(s) { resolve({ "key": sz_key, "value": value }) },
"onFailure": function(f) { resolve({ "key": sz_key, "value": "unknown" }) }
};
hcap.property.setInstallerMenuItem(param);
});
};
/**
* IDCAP Wrapper Function::> Get Device Configuration(Properties)(Realted IDCAP API:idcap://configuration/property/get)
* @param {string} sz_key property key name.
@@ -667,6 +705,39 @@ HotelTV.hcap = (function() {
__hcapfxn_Reboot();
},
GetNetworkStatus: function() {
return new Promise((resolve, reject) => {
hcap.network.getNetworkInformation({
"onSuccess" : function(s) {
console.log("onSuccess : network_mode = " + s.network_mode +
"\n ssid = " + s.ssid +
"\n eth_speed = " + s.eth_speed +
"\n eth_duplex = " + s.eth_duplex +
"\n local_network_available = " + s.local_network_available +
"\n internet_available = " + s.internet_available +
"\n wifi_mode = " + s.wifi_mode +
"\n wireless_security_type = " + s.wireless_security_type +
"\n wifi_pass_key = " + s.wifi_pass_key +
"\n using_dhcp = " + s.using_dhcp +
"\n ip_address = " + s.ip_address +
"\n subnet_mask = " + s.subnet_mask +
"\n gateway = " + s.gateway +
"\n dns1_address = " + s.dns1_address +
"\n dns2_address = " + s.dns2_address +
"\n dns_dhcp = " + s.dns_dhcp +
"\n ethernet_plugged = " + s.ethernet_plugged +
"\n wifi_plugged = " + s.wifi_plugged +
"\n dhcp_state = " + s.dhcp_state);
resolve({ "error": false, "info": s });
},
"onFailure" : function(f) {
console.log("onFailure : errorMessage = " + f.errorMessage);
resolve({ "error": true, "info": null });
}
});
});
},
GetDevInfo: function() {
return new Promise((resolve, reject) => {
@@ -922,12 +993,41 @@ HotelTV.hcap = (function() {
let _instant_pwr_target_mode = Number(_devconfig.system.misc.instantPower);
if (_devinfo["instant_power"] != _instant_pwr_target_mode) {
_pmFxnArProperty.push(__hcapfxn_set_property('instant_power', _instant_pwr_target_mode));
// hcap.property.InstallerMenuItem.POWER_MANAGE 설정
if ( _instant_pwr_target_mode==2 ) {
//
hcap.property.setInstallerMenuItem({
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
"value" : 8,
"onSuccess" : function() {
console.log("onSuccess");
},
"onFailure" : function(f) {
console.log("onFailure : errorMessage = " + f.errorMessage);
}
});
} else {
// Sets number of hours of no activity before automatic shut off. (0 ~ 7)
hcap.property.setInstallerMenuItem({
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
"value" : 0,
"onSuccess" : function() {
console.log("onSuccess");
},
"onFailure" : function(f) {
console.log("onFailure : errorMessage = " + f.errorMessage);
}
});
}
}
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
if (_devinfo["power_mode"] != hcap.power.PowerMode.WARM) {
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
}
}
}
// STEP#006::> SERVICE RELATED PARAMETERS
for (let _cfg in _devconfig) {
@@ -1410,7 +1510,7 @@ HotelTV.hcap = (function() {
"onSuccess": function(s) {
if (_en_show_msg == true) {
console.log("register Success!");
HotelTV.hcap.PreAppGetInfo(true);
HotelTV.hal.PreAppGetInfo(true);
}
},
"onFailure": function(f) {

View File

@@ -132,7 +132,7 @@ function __fxn_Set_DebugOpt(_enable, _out_option, _init) {
HotelTV.dbginfo['en'] = _enable;
HotelTV.dbginfo['output'] = _out_option;
HotelTV.hcap.Init();
HotelTV.hal.Init();
/** Develop Mode definitions */
console.log("OPT" + navigator.appVersion);
@@ -144,7 +144,7 @@ function __fxn_Set_DebugOpt(_enable, _out_option, _init) {
/** Set HCAP Debug Options */
if (HotelTV.dbginfo['emulator'] == false) {
//Enable/Disable browser debug mode
HotelTV.hcap.SetBrowserDebug(HotelTV.dbginfo['hcap_ipc'], HotelTV.dbginfo['webdebugger']);
HotelTV.hal.SetBrowserDebug(HotelTV.dbginfo['hcap_ipc'], HotelTV.dbginfo['webdebugger']);
}
} else if (navigator.appVersion.includes("Tizen") == true) {
HotelTV.dbginfo['emulator'] = false;
@@ -204,7 +204,7 @@ HotelTV.Init = async function() {
console.log("Start Initialization:: ");
//STEP#01::> Shutdown Channel
HotelTV.hcap.ChannelShutDown();
HotelTV.hal.ChannelShutDown();
//SETP#02::> Set Debug Options
__fxn_Set_DebugOpt(false, 'osd', false);
@@ -212,11 +212,57 @@ HotelTV.Init = async function() {
//STEP#03::> Get Device Info
HotelTV.ui_utils.SetBusy(true);
const __ifxn_showFatalErr_Network = function() {
let _tmval = 10;
setTimeout(HotelTV.hal.Reboot, 10000);
HotelTV.ui_utils.SetBusy(false);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-devinfo",
"SYSTEM ERROR",
"Network is un-available.\r\nplease contact your system administrator.", {
"timeout": _tmval,
"cb_disp": function() {
_tmval -= 1;
console.log("time..." + _tmval);
if ($('.error #countdown').css("display") == "none") {
$('.error #countdown').fadeIn(1000);
}
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
},
"cb_eoe": null
});
}
try {
await HotelTV.hcap.GetDevInfo();
//await HotelTV.hcap.ShowDevInfo();
//
let __netStatus = await HotelTV.hal.GetNetworkStatus();
if ( __netStatus.info==null || __netStatus.error==true ){
console.info("aa");
__ifxn_showFatalErr_Network();
return;
} else {
console.info("bb");
if ( __netStatus.info.ip_address=="0.0.0.0" || __netStatus.info.gateway=="0.0.0.0" ) {
console.info("Fatall.......");
__ifxn_showFatalErr_Network();
return;
}
}
} catch ( _err ) {
console.info("cc");
__ifxn_showFatalErr_Network();
return;
}
try {
await HotelTV.hal.GetDevInfo();
//await HotelTV.hal.ShowDevInfo();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-devinfo",
"SYSTEM ERROR",
@@ -230,9 +276,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -244,6 +288,7 @@ HotelTV.Init = async function() {
HotelTV.state['registration'] = await HotelTV.api.CheckRegistration();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.check-registration",
"SYSTEM ERROR",
@@ -257,9 +302,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -272,12 +315,13 @@ HotelTV.Init = async function() {
// FULL LICENSE MODE
try {
HotelTV.settings = await HotelTV.api.GetSettings();
let need_reboot = await HotelTV.hcap.SetDevice(HotelTV.settings);
let need_reboot = await HotelTV.hal.SetDevice(HotelTV.settings);
if (need_reboot == true) {
console.log("System Need to Reboot");
HotelTV.ui_utils.SetBusy(false);
let _tmval = 20;
setTimeout(HotelTV.hal.Reboot, 20000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.info.change-configuration",
"SYSTEM INFO",
@@ -291,14 +335,13 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
return;
}
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.set-devinfo",
"SYSTEM ERROR",
@@ -312,9 +355,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -322,6 +363,7 @@ HotelTV.Init = async function() {
HotelTV.hotelinfo = await HotelTV.api.GetHotelInfo();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-hotelinfo",
"SYSTEM ERROR",
@@ -335,9 +377,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
// state[theme_root] 정의
@@ -351,6 +391,7 @@ HotelTV.Init = async function() {
HotelTV.guestinfo = await HotelTV.api.GetGuestInfo();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-guestinfo",
"SYSTEM ERROR",
@@ -364,9 +405,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -374,6 +413,7 @@ HotelTV.Init = async function() {
HotelTV.opening = await HotelTV.api.GetOpeningCtz();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-openingctzinfo",
"SYSTEM ERROR",
@@ -387,9 +427,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -409,6 +447,7 @@ HotelTV.Init = async function() {
HotelTV.widget = await HotelTV.api.GetWidgetCtz();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
//console.log("Display Error page for get widget info");
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-widget",
@@ -423,9 +462,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -433,6 +470,7 @@ HotelTV.Init = async function() {
HotelTV.tvguide = await HotelTV.api.GetProgramCtz();
} catch (_error) {
let _tmval = 50;
setTimeout(HotelTV.hal.Reboot, 49000);
//console.log("Display Error page for get tvguide info");
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.get-tvguideinfo",
@@ -447,9 +485,7 @@ HotelTV.Init = async function() {
}
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
});
}
@@ -516,6 +552,7 @@ HotelTV.Init = async function() {
}
} else {
let _tmval = 60;
setTimeout(HotelTV.hal.Reboot, 59000);
HotelTV.ui_utils.ShowErrMsg(true,
"system.error.unregistered-device",
"SYSTEM ERROR",
@@ -529,17 +566,14 @@ HotelTV.Init = async function() {
$('.error #countdown').fadeIn(1000);
}
},
"cb_eoe": function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot`);
setTimeout(HotelTV.hcap.Reboot, 500);
}
"cb_eoe": null
}
);
}
console.log("Initialization:: Done");
HotelTV.ui_utils.SetBusy(false);
SpatialNavigation.init();
//SpatialNavigation.init();
};
HotelTV.LoadWelCome = async function() {
@@ -579,7 +613,7 @@ HotelTV.LoadWelCome = async function() {
let _res = HotelTV.devinfo.display_resolution.split("x");
HotelTV.ui_welcome.Init(_res[0], _res[1]);
//await HotelTV.hcap.ShowDevInfo();
//await HotelTV.hal.ShowDevInfo();
HotelTV.ui_welcome.Show();
@@ -603,8 +637,8 @@ HotelTV.LoadWelCome = async function() {
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret} ::> ${recvMsg.data}`);
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret}`);
if (recvMsg.event == "update_report") {
HotelTV.hcap.GetUptime();
HotelTV.hcap.GetDeviceUsage().then(_usage => {
HotelTV.hal.GetUptime();
HotelTV.hal.GetDeviceUsage().then(_usage => {
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
HotelTV.api.ReportBrief(HotelTV.devinfo, HotelTV.guestinfo, _usage);
});
@@ -761,7 +795,7 @@ HotelTV.LoadAppFull = async function() {
//STEP#03: INIT HCAP for HotelTV FullAPP
let tmrAppAuth = setInterval(async function() {
let _foundNetflix = false;
let _hcapAppInfo = await HotelTV.hcap.PreAppGetInfo(false);
let _hcapAppInfo = await HotelTV.hal.PreAppGetInfo(false);
HotelTV.state['hcap_app'] = _hcapAppInfo.applist;
for (_i = 0; _i < HotelTV.state['hcap_app'].length; _i++) {
if (HotelTV.state['hcap_app'][_i].title == "Netflix") {
@@ -783,7 +817,7 @@ HotelTV.LoadAppFull = async function() {
//siAppToken = _progam[_i].service;
if (siAppName && siAppToken) {
HotelTV.hcap.siAppAuth(siAppName, siAppToken, false);
HotelTV.hal.siAppAuth(siAppName, siAppToken, false);
}
}
}
@@ -799,7 +833,7 @@ HotelTV.LoadAppFull = async function() {
HotelTV.ui_appfull.Init(_res[0], _res[1]);
//STEP#06; Show UI
//await HotelTV.hcap.ShowDevInfo();
//await HotelTV.hal.ShowDevInfo();
HotelTV.ui_appfull.Show();
//STEP#06 Register Service web worker
@@ -840,8 +874,8 @@ HotelTV.LoadAppFull = async function() {
HotelTV.widget = recvMsg.data;
}
} else if (recvMsg.event == "update_report") {
HotelTV.hcap.GetUptime();
HotelTV.hcap.GetDeviceUsage().then(_usage => {
HotelTV.hal.GetUptime();
HotelTV.hal.GetDeviceUsage().then(_usage => {
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
HotelTV.api.ReportBrief(HotelTV.devinfo, HotelTV.guestinfo, _usage);
});
@@ -899,7 +933,7 @@ HotelTV.LoadAppFull = async function() {
//
//HotelTV.hcap.Test();
//HotelTV.hal.Test();
}
HotelTV.UnloadAppFull = async function() {

View File

@@ -349,11 +349,11 @@ HotelTV.ui_appfull = (function() {
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeOut(500, function(){
__uifxn_AppFull_TopWidjetShow(false);
});
HotelTV.hcap.VideoWinSize(null);
HotelTV.hal.VideoWinSize(null);
break;
case 'play_end':
_state.media.playing = false;
HotelTV.hcap.MediaStop(
HotelTV.hal.MediaStop(
function() {
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(500, function() {
@@ -388,14 +388,14 @@ HotelTV.ui_appfull = (function() {
_state.media.playing = true;
$('.main .mypage .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
$('.main .mypage .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item.active').addClass('movieplay');
HotelTV.hcap.VideoWinSize(null);
HotelTV.hal.VideoWinSize(null);
$('.main .mypage .slider').animate({top:1080, left:0}, 1000, function(){
__uifxn_AppFull_TopWidjetShow(false);
})
break;
case 'play_end':
_state.media.playing = false;
HotelTV.hcap.MediaStop(
HotelTV.hal.MediaStop(
function() {
$('.main .mypage .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
@@ -466,7 +466,7 @@ HotelTV.ui_appfull = (function() {
let _typeAppFocusEvt = _evt.eventType;
if (_typeAppFocusEvt == "focused") {
// HotelTV.hcap.SetSoftAp({
// HotelTV.hal.SetSoftAp({
// "enable": false,
// });
}else if (_typeAppFocusEvt == "unfocused") {
@@ -501,10 +501,10 @@ HotelTV.ui_appfull = (function() {
_state.menu.stage.prev = _state.menu.stage.cur;
_state.menu.stage.cur = "external_av_hdmi";
_state.external_input.connected = true;
_state.external_input.last_input.index = Number(_evt.index)-1;
_state.external_input.last_input.index = Number(_evt.index);
setTimeout(function(){
$('body,html').fadeOut(500, function(){
let __retSuccess = HotelTV.hcap.SetExternalInput("HDMI", Number(_evt.index)-1);
let __retSuccess = HotelTV.hal.SetExternalInput("HDMI", Number(_evt.index));
if ( __retSuccess==false ){
_state.external_input.connected = false;
_state.external_input.last_input.index = 0;
@@ -577,7 +577,7 @@ HotelTV.ui_appfull = (function() {
}
});
} else if ( _state.menu.stage.cur=="external_av_hdmi" ) {
let __retSuccess = HotelTV.hcap.SetExternalInput("HDMI", _state.external_input.last_input.index);
let __retSuccess = HotelTV.hal.SetExternalInput("HDMI", _state.external_input.last_input.index);
if ( __retSuccess==false ){
_state.external_input.connected = false;
_state.external_input.last_input.index = 0;
@@ -2084,7 +2084,6 @@ HotelTV.ui_appfull = (function() {
_elMainRoot.fadeOut(500, function() {
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
__uifxn_AppFull_TopWidjetShow(false);
_elMainRoot.removeClass("depth_mm");
_elAmPupRoot.children('.slider').fadeIn(300, function() {
_elAmPupRoot.children('.bg').fadeIn(500, function() {
_elAmCtgySel.find('.owl-item').addClass('unfocus');
@@ -2146,7 +2145,6 @@ HotelTV.ui_appfull = (function() {
setTimeout(function() {
$('.main').fadeIn(1000, () => {
_state.menu.stage.cur = "main";
$('.main').addClass("depth_mm");
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
__uifxn_AppFull_TopWidjetShow(true);
_state.menu.stage.prev = null;
@@ -2197,7 +2195,6 @@ HotelTV.ui_appfull = (function() {
setTimeout(function() {
$('.main').fadeIn(1000, () => {
_state.menu.stage.cur = "main";
$('.main').addClass("depth_mm");
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
__uifxn_AppFull_TopWidjetShow(true);
_state.menu.stage.prev = null;
@@ -3627,7 +3624,6 @@ HotelTV.ui_appfull = (function() {
_elMainRoot.fadeOut(500, function() {
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
__uifxn_AppFull_TopWidjetShow(false);
_elMainRoot.removeClass("depth_mm");
_elRsPupRoot.children('.slider').fadeIn(300, function() {
_elRsPupRoot.children('.bg').fadeIn(500, function() {
_elRsCtgySel.find('.owl-item').addClass('unfocus');
@@ -3689,7 +3685,6 @@ HotelTV.ui_appfull = (function() {
setTimeout(function() {
$('.main').fadeIn(1000, () => {
_state.menu.stage.cur = "main";
$('.main').addClass("depth_mm");
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
__uifxn_AppFull_TopWidjetShow(true);
_state.menu.stage.prev = null;
@@ -3739,7 +3734,6 @@ HotelTV.ui_appfull = (function() {
setTimeout(function() {
$('.main').fadeIn(1000, () => {
_state.menu.stage.cur = "main";
$('.main').addClass("depth_mm");
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
__uifxn_AppFull_TopWidjetShow(true);
_state.menu.stage.prev = null;
@@ -4038,32 +4032,42 @@ HotelTV.ui_appfull = (function() {
let _rtn_epg = null;
for (_j=0; _j<_epg_prom_info.length; _j++) {
let _schTmPrev = new Date();
let _schTmNext = new Date();
let _schTmCur = new Date();
let _epgProgInf_Cur = _epg_prom_info[_j];
let _epgProgInf_Prev = null;
let _epgProgInf_Next = null;
if (_epgProgInf_Cur.time.length != 5) {
console.log("EPG Schedule org time is NULL");
} else {
let __str_playingTime = null;
_schTmCur.setHours(Number(_epgProgInf_Cur.time.charAt(0) + _epgProgInf_Cur.time.charAt(1)));
_schTmCur.setMinutes(Number(_epgProgInf_Cur.time.charAt(3) + _epgProgInf_Cur.time.charAt(4)));
// EPG shedule정보는 인덱스 0부터 시작
if ( _j>0 ){
_epgProgInf_Prev = _epg_prom_info[_j-1];
_schTmPrev.setHours(Number(_epgProgInf_Prev.time.charAt(0) + _epgProgInf_Prev.time.charAt(1)));
_schTmPrev.setMinutes(Number(_epgProgInf_Prev.time.charAt(3) + _epgProgInf_Prev.time.charAt(4)));
if ( _j<(_epg_prom_info.length-1) ){
_epgProgInf_Next = _epg_prom_info[_j+1];
_schTmNext.setHours(Number(_epgProgInf_Next.time.charAt(0) + _epgProgInf_Next.time.charAt(1)));
_schTmNext.setMinutes(Number(_epgProgInf_Next.time.charAt(3) + _epgProgInf_Next.time.charAt(4)));
__str_playingTime = `${_epgProgInf_Cur.time}~${_epgProgInf_Next.time}`;
} else {
//
_schTmNext.setMinutes(Number(0));
_schTmNext.setHours(Number(24));
__str_playingTime = `${_epgProgInf_Cur.time}~`;
}
let _t_playTotal = Math.round((_schTmCur - _schTmPrev) / 60000); //Total play time in minuate
let _t_playRemain = Math.round((_schTmCur - _tm_cur) / 60000); //Remain play time in minuate
let _t_playTotal = Math.round((_schTmNext - _schTmCur) / 60000); //Total play time in minuate
let _t_playRemain = Math.round((_schTmNext - _tm_cur) / 60000); //Remain play time in minuate
_rtn_epg = _epgProgInf_Cur;
if (_t_playRemain >= 0) {
//console.log("CHNAME::>" + _ch_name + " Remaining::> " + _t_playRemain);
_rtn_epg["progress_pcent"] = parseInt(((_t_playTotal-_t_playRemain)*100)/_t_playTotal, 10);
_rtn_epg["playing_time"] = `${_epgProgInf_Prev.time}~${_epgProgInf_Cur.time}`;
_rtn_epg["playing_time"] = __str_playingTime;
break;
}
}
@@ -4665,7 +4669,7 @@ HotelTV.ui_appfull = (function() {
if (uri_video != null) {
_state.menu.stage.prev = _state.menu.stage.cur;
_state.menu.stage.cur = "mypage_replay_welcome_vod";
HotelTV.hcap.MediaPlay(
HotelTV.hal.MediaPlay(
uri_video,
"",
"video/mp4",
@@ -4688,7 +4692,7 @@ HotelTV.ui_appfull = (function() {
{
if (_state.media.playing == true) {
_state.media.playing = false;
HotelTV.hcap.MediaStop(
HotelTV.hal.MediaStop(
function() {
$('.main .mypage .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
@@ -4857,7 +4861,7 @@ HotelTV.ui_appfull = (function() {
} else if (_tvChInfo.type == "encoder") {
// ENCODER
}
HotelTV.hcap.ChannelSetup(_tvChInfo.type, _chReqParam);
HotelTV.hal.ChannelSetup(_tvChInfo.type, _chReqParam);
//TODO: 아래 실제 채널 셋업 부분 주석처리 되어 있는데, IP와 RF모두 처리 할 수 있도록 구현할것
//let _uri_stream = _tvChInfo.url.split('://@')[1];
@@ -4865,7 +4869,7 @@ HotelTV.ui_appfull = (function() {
//let _uri_ip = _uri_stream.split(':')[0];
//let _uri_port = _uri_stream.split(':')[1];
//console.log(`ip = ${_uri_ip} port=${_uri_port} protocol=${_typ_proto}`);
//HotelTV.hcap.ChannelSetup("ip", { "ip": _uri_ip, "port": Number(_uri_port), "ptype": _typ_proto });
//HotelTV.hal.ChannelSetup("ip", { "ip": _uri_ip, "port": Number(_uri_port), "ptype": _typ_proto });
// {
@@ -4873,7 +4877,7 @@ HotelTV.ui_appfull = (function() {
// let max = Math.floor(16);
// let _major = Math.floor(Math.random() * (max - min + 1)) + min;
// console.log("Major=5 minor=" + _major);
// HotelTV.hcap.ChannelSetup("rf_analog_ntsc", { "major": _major, "minor": 0 });
// HotelTV.hal.ChannelSetup("rf_analog_ntsc", { "major": _major, "minor": 0 });
// }
HotelTV.api.ReportEvent([{
@@ -5682,7 +5686,7 @@ HotelTV.ui_appfull = (function() {
$('.main').animate({ top: -1080, left: 0 }, 1000, () => {
$('.main .ctzgen').hide();
_state.media.playing = false;
HotelTV.hcap.MediaStop(null, null);
HotelTV.hal.MediaStop(null, null);
$('#lst_ctzgenbg').off('refresh.owl.carousel');
$('#lst_ctzgenbg').off('change.owl.carousel');
@@ -5701,7 +5705,7 @@ HotelTV.ui_appfull = (function() {
if ($('.main .ctzgen .bg .owl-carousel .owl-item.active .ctz_mv_ctrl').length == 1) {
let uri_video = $($('.main .ctzgen .bg .owl-carousel .owl-item.active .ctz_mv_ctrl')[0]).attr('video_url');
if (uri_video != null) {
HotelTV.hcap.MediaPlay(
HotelTV.hal.MediaPlay(
uri_video,
"",
"video/mp4",
@@ -5718,7 +5722,7 @@ HotelTV.ui_appfull = (function() {
} else if (event.keyCode == gRmtKey.stop) {
if (_state.media.playing == true) {
_state.media.playing = false;
HotelTV.hcap.MediaStop(
HotelTV.hal.MediaStop(
function() {
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(1000);
@@ -5788,7 +5792,7 @@ HotelTV.ui_appfull = (function() {
const __ifxn_exitTvMenu = function() {
// 현재 재생중인 TV채널 종료
HotelTV.hcap.ChannelShutDown();
HotelTV.hal.ChannelShutDown();
if (_hndl_tmrTvChnMngr != null) {
clearInterval(_hndl_tmrTvChnMngr);
@@ -6157,6 +6161,19 @@ HotelTV.ui_appfull = (function() {
let _elLangSelUsageDiv = _elLangSelCtrlDiv.children('.usage');
let _elLangSelButtonsDiv = _elLangSelCtrlDiv.children('.buttons');
const ___ifxn_updateLangSelTitleAndUsages = function() {
let __focusedLang = "en-US";
if ( _elLangSelButtonsDiv.find('.focus').length ) {
__focusedLang = _elLangSelButtonsDiv.find('.focus').attr('id');
}
// Title
_elLangSelTitleDiv.text(_trTbl.system.szsellanguage[__focusedLang]);
// Usages
_elLangSelUsageDiv.html(_trTbl.system.lang_sel_usage[__focusedLang]);
}
const ___ifxn_moveLangButton = function(_direction) {
let selectedBtnItemCur = _elLangSelButtonsDiv.find('.focus');
@@ -6179,13 +6196,15 @@ HotelTV.ui_appfull = (function() {
_elLangSelButtonsDiv.find('.langBtn').last().addClass("focus");
}
}
___ifxn_updateLangSelTitleAndUsages();
}
const __ifxn_sendNextLangUsrData = async function(_nextLang, __cbFxnFailure=null, __cbFxn_Success=null) {
try {
let found_dev_locale = false;
// SET PLATFORM LANGUAGE
// HotelTV.hcap.SetPlatformLanguage(_state.lang);
// HotelTV.hal.SetPlatformLanguage(_state.lang);
if ( 'getLocaleList' in HotelTV.devinfo )
{
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
@@ -6197,10 +6216,10 @@ HotelTV.ui_appfull = (function() {
}
}
if ( found_dev_locale==true ){
HotelTV.hcap.SetDeviceLocale(_nextLang);
HotelTV.hal.SetDeviceLocale(_nextLang);
}else{
console.log("Set Default device locale set to en-US");
HotelTV.hcap.SetDeviceLocale('en-US');
HotelTV.hal.SetDeviceLocale('en-US');
}
let _usrDataJson = {
@@ -7012,7 +7031,7 @@ HotelTV.ui_appfull = (function() {
// 현재 재생중인 TV채널 종료
if ( _state.tv.playing == true ){
console.warn("Try to channel shutdown..");
HotelTV.hcap.ChannelShutDown();
HotelTV.hal.ChannelShutDown();
_state.tv.playing = false;
}
@@ -7047,12 +7066,12 @@ HotelTV.ui_appfull = (function() {
console.log("Preparing TV APP::>" + _program[Number(_state.menu.main.cur)].service);
if (_program[Number(_state.menu.main.cur)].service == "youtube") {
// console.log(`Type:${_program[Number(_state.menu.main.cur)].type} preparing WIFI AP...`);
// HotelTV.hcap.SetSoftAp({
// HotelTV.hal.SetSoftAp({
// "enable": true,
// "ssid": "TVWIFI-" + HotelTV.guestinfo.room,
// "password": "12345678",
// });
HotelTV.hcap.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, null);
HotelTV.hal.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, null);
} else if (_program[Number(_state.menu.main.cur)].service == "netflix") {
let _foundNetflix = false;
for (_i = 0; _i < _state['hcap_app'].length; _i++) {
@@ -7062,12 +7081,12 @@ HotelTV.ui_appfull = (function() {
}
if (_foundNetflix == true) {
HotelTV.hcap.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, { "hotel_name": HotelTV.hotelinfo.name });
HotelTV.hal.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, { "hotel_name": HotelTV.hotelinfo.name });
} else {
HotelTV.ui_utils.ShowNotificationMsgBalloon(_trTbl.system.ott_service_not_ready[_state.lang], 5);
}
} else if (_program[Number(_state.menu.main.cur)].service == "screenmirroring") {
HotelTV.hcap.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, null);
HotelTV.hal.LaunchPreApp(_program[Number(_state.menu.main.cur)].service, null);
}
} else if (_program[Number(_state.menu.main.cur)].type.toLowerCase() == "language") {
console.log("Preparing language select sub menu...");
@@ -7538,6 +7557,7 @@ HotelTV.ui_appfull = (function() {
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -7552,7 +7572,6 @@ HotelTV.ui_appfull = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -7561,6 +7580,7 @@ HotelTV.ui_appfull = (function() {
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -7575,7 +7595,6 @@ HotelTV.ui_appfull = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -7584,6 +7603,8 @@ HotelTV.ui_appfull = (function() {
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -7598,8 +7619,6 @@ HotelTV.ui_appfull = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
//setTimeout(HotelTV.hcap.PwrOff, 500);
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -7609,7 +7628,7 @@ HotelTV.ui_appfull = (function() {
let _tmval = 30;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -7624,7 +7643,6 @@ HotelTV.ui_appfull = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});

View File

@@ -66,7 +66,7 @@ HotelTV.ui_welcome = (function() {
switch (_stateMedia) {
case 'play_start':
_media_status = 'playing';
HotelTV.hcap.VideoWinSize(null);
HotelTV.hal.VideoWinSize(null);
//Hide welcome page
__uifxn_WC_Show(null, function() {
@@ -86,7 +86,7 @@ HotelTV.ui_welcome = (function() {
break;
case 'play_end':
_media_status = 'stopped';
HotelTV.hcap.MediaShutdown(
HotelTV.hal.MediaShutdown(
function() {
$(".control .skip_video").hide();
console.log("Media Desory::Done");
@@ -99,7 +99,7 @@ HotelTV.ui_welcome = (function() {
});
break;
case 'play_end_need_destory':
HotelTV.hcap.MediaShutdown(
HotelTV.hal.MediaShutdown(
function() {
$(".control .skip_video").hide();
console.log("Media Desory::Done");
@@ -126,7 +126,7 @@ HotelTV.ui_welcome = (function() {
case 'play_stop_requtested':
_media_status = 'stopped';
HotelTV.hcap.MediaShutdown(
HotelTV.hal.MediaShutdown(
function() {
$(".control .skip_video").hide();
console.log("Media Desory::Done");
@@ -332,7 +332,7 @@ HotelTV.ui_welcome = (function() {
let found_dev_locale = false;
// SET PLATFORM LANGUAGE
// HotelTV.hcap.SetPlatformLanguage(_state.lang);
// HotelTV.hal.SetPlatformLanguage(_state.lang);
if ( 'getLocaleList' in HotelTV.devinfo )
{
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
@@ -344,10 +344,10 @@ HotelTV.ui_welcome = (function() {
}
}
if ( found_dev_locale==true ){
HotelTV.hcap.SetDeviceLocale(_state.lang);
HotelTV.hal.SetDeviceLocale(_state.lang);
}else{
console.log("Set Default device locale set to en-US");
HotelTV.hcap.SetDeviceLocale('en-US');
HotelTV.hal.SetDeviceLocale('en-US');
}
@@ -358,7 +358,7 @@ HotelTV.ui_welcome = (function() {
} else if (_ctzWc.intro == 'video') {
HotelTV.ui_utils.SetBusy(true);
/** Play movie clip */
HotelTV.hcap.MediaPlay(
HotelTV.hal.MediaPlay(
_ctzWc.videos[_state.lang].download,
null,
"video/mp4",
@@ -478,7 +478,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 10;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -493,7 +493,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -501,7 +500,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 10;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -516,7 +515,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -524,7 +522,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 30;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -539,8 +537,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
//setTimeout(HotelTV.hcap.PwrOff, 500);
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -550,7 +546,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 30;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -565,7 +561,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});

View File

@@ -5,9 +5,7 @@
width: 100%;
height: 100%;
padding: 0px;
/* background-image: url(./images/hoteltv_service_preparing.png); */
background-image: url(/procentric/application/images/hoteltv_service_preparing_joson.jpg);
/* background-image: url(/procentric/application/images/hoteltv_service_preparing.png); */
background-image: url(../images/hoteltv_service_preparing_joson.jpg);
background-size: cover;
background-repeat: no-repeat;
}

View File

@@ -3,10 +3,10 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
<link rel="stylesheet" href="./css/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="./css/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
<link rel="stylesheet" href="./theme/hoteltv.error.css">
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
</head>
@@ -67,25 +67,25 @@
<!-- Standard & 3rd party Library -->
<script src="/procentric/application/lib/jquery-3.6.0.min.js"></script>
<script src="/procentric/application/lib/jquery.color-2.1.2.min.js"></script>
<script src="/procentric/application/lib/xml2json.js"></script>
<script src="/procentric/application/lib/spatial_navigation.js"></script>
<script src="/procentric/application/lib/owl.carousel.js"></script>
<script src="./lib/jquery-3.6.0.min.js"></script>
<script src="./lib/jquery.color-2.1.2.min.js"></script>
<script src="./lib/xml2json.js"></script>
<script src="./lib/spatial_navigation.js"></script>
<script src="./lib/owl.carousel.js"></script>
<!-- LG HCAP Library -->
<script src="/procentric/application/lib/hcap.js"></script>
<script src="/procentric/application/lib/idcap.js"></script>
<script src="./lib/hcap.js"></script>
<script src="./lib/idcap.js"></script>
<!-- CENTIRM HOTELTV Library -->
<script src="/procentric/application/lib/hoteltv.js"></script>
<script src="/procentric/application/lib/hoteltv.ui_utils.js"></script>
<script src="/procentric/application/lib/hoteltv.ui_welcome.js"></script>
<script src="/procentric/application/lib/hoteltv.hcap.js"></script>
<script src="/procentric/application/lib/hoteltv.api.js"></script>
<script src="./lib/hoteltv.js"></script>
<script src="./lib/hoteltv.ui_utils.js"></script>
<script src="./lib/hoteltv.ui_welcome.js"></script>
<script src="./lib/hoteltv.hcap.js"></script>
<script src="./lib/hoteltv.api.js"></script>
<!-- MQTT Library -->
<script src="/procentric/application/lib/mqtt.min.js"></script>
<script src="./lib/mqtt.min.js"></script>
<script>
window.addEventListener('cached', function() {
@@ -95,7 +95,7 @@
window.addEventListener('load', function() {
console.log("loading");
HotelTV.state = JSON.parse(sessionStorage.getItem("state"));
$('head:first').append('<link rel="stylesheet" type="text/css" href="/procentric/application/theme/' + HotelTV.state['theme_root'] + '/hoteltv.welcome.css" />');
$('head:first').append('<link rel="stylesheet" type="text/css" href="./theme/' + HotelTV.state['theme_root'] + '/hoteltv.welcome.css" />');
HotelTV.LoadWelCome();
});

View File

@@ -1,5 +1,5 @@
<XAIT>
<versionNumber>4</versionNumber>
<versionNumber>27</versionNumber>
<AbstractService>
<svcName>Pro:Centric App</svcName>
<svcId>0x1204</svcId>
@@ -16,10 +16,15 @@
<controlCode>AUTOSTART</controlCode>
<visibility>NOT_VISIBLE_USERS</visibility>
<priority>255</priority>
<version>7</version>
<version>27</version>
</applicationDescriptor>
<HcapDescriptor>
<url>http://10.20.0.2:8880/procentric/application/index.html</url>
<url>http://10.20.0.2:8880/procentric/application/application.zip</url>
<applicationStructure>
<baseDirectory>/</baseDirectory>
<classpathExtension>/</classpathExtension>
<initialClass>index.html</initialClass>
</applicationStructure>
</HcapDescriptor>
</Application>
</ApplicationList>

View File

@@ -0,0 +1,32 @@
<XAIT>
<versionNumber>25</versionNumber>
<AbstractService>
<svcName>Pro:Centric App</svcName>
<svcId>0x1204</svcId>
<isAutoSelect>true</isAutoSelect>
<ApplicationList>
<Application>
<appName>CT-HotelIPTV</appName>
<applicationIdentifier>
<orgId>1</orgId>
<appId>1</appId>
</applicationIdentifier>
<applicationDescriptor>
<type>Hcap-h</type>
<controlCode>AUTOSTART</controlCode>
<visibility>NOT_VISIBLE_USERS</visibility>
<priority>255</priority>
<version>25</version>
</applicationDescriptor>
<HcapDescriptor>
<url>http://10.20.0.2:8880/procentric/application/application.zip</url>
<applicationStructure>
<baseDirectory>/</baseDirectory>
<classpathExtension>/</classpathExtension>
<initialClass>index.html</initialClass>
</applicationStructure>
</HcapDescriptor>
</Application>
</ApplicationList>
</AbstractService>
</XAIT>

View File

@@ -0,0 +1,27 @@
<XAIT>
<versionNumber>5</versionNumber>
<AbstractService>
<svcName>Pro:Centric App</svcName>
<svcId>0x1204</svcId>
<isAutoSelect>true</isAutoSelect>
<ApplicationList>
<Application>
<appName>CT-HotelIPTV</appName>
<applicationIdentifier>
<orgId>1</orgId>
<appId>1</appId>
</applicationIdentifier>
<applicationDescriptor>
<type>Hcap-h</type>
<controlCode>AUTOSTART</controlCode>
<visibility>NOT_VISIBLE_USERS</visibility>
<priority>255</priority>
<version>8</version>
</applicationDescriptor>
<HcapDescriptor>
<url>http://10.20.0.2:8880/procentric/application/index.html</url>
</HcapDescriptor>
</Application>
</ApplicationList>
</AbstractService>
</XAIT>

View File

@@ -1,6 +1,6 @@
<service>
<setup>
<versionNumber>100</versionNumber>
<versionNumber>3</versionNumber>
<modelName>65UR762H0NC</modelName>
<priority>NORMAL</priority>
<content>
@@ -12,12 +12,32 @@
</content>
</setup>
<setup>
<versionNumber>13</versionNumber>
<versionNumber>2</versionNumber>
<modelName>65US761H0ND</modelName>
<priority>NORMAL</priority>
<content>
<type>EPK_FIRMWARE</type>
<data>starfish-atsc-secured-k6hp-41.242.japoon4hotel.k6hp-41-04.44.00_prodkey_nsu_V3_SECURED.epk</data>
<frequency>0</frequency>
<programNum>0</programNum>
<cTag>0</cTag>
</content>
</setup>
<setup>
<versionNumber>4</versionNumber>
<modelName>49US761H0ND</modelName>
<priority>NORMAL</priority>
<content>
<type>EPK_FIRMWARE</type>
<data>starfish-atsc-secured-k6hp-41.242.japoon4hotel.k6hp-78-04.47.70_prodkey_nsu_V3_SECURED.epk</data>
<data>starfish-atsc-secured-k6hp-41.242.japoon4hotel.k6hp-94-04.49.30_prodkey_nsu_V3_SECURED.epk</data>
<frequency>0</frequency>
<programNum>0</programNum>
<cTag>0</cTag>
</content>
<!-- FOR PTC F/W -->
<content>
<type>PTC_FIRMWARE</type>
<data>xxUS761H0ND_v8.00.088.txt</data>
<frequency>0</frequency>
<programNum>0</programNum>
<cTag>0</cTag>

File diff suppressed because it is too large Load Diff