Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eb5513c39 | ||
|
|
13bf756eb6 | ||
|
|
05f801169b | ||
|
|
2061b695c6 | ||
|
|
411c3b9635 | ||
|
|
123c9d794d | ||
|
|
91cd321a59 | ||
|
|
baf7697664 | ||
|
|
16ecff93d8 | ||
|
|
f2e0890c3d | ||
|
|
98e8db71fe |
@@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
|
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
|
<link rel="stylesheet" href="./theme/hoteltv.error.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.carousel.min.css">
|
<link rel="stylesheet" href="./css/owlcarousel/owl.carousel.min.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.theme.default.min.css">
|
<link rel="stylesheet" href="./css/owlcarousel/owl.theme.default.min.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/css/acmeticker/style.css">
|
<link rel="stylesheet" href="./css/acmeticker/style.css">
|
||||||
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -365,28 +365,28 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Standard & 3rd party Library -->
|
<!-- Standard & 3rd party Library -->
|
||||||
<script src="/procentric/application/lib/jquery-3.6.0.min.js"></script>
|
<script src="./lib/jquery-3.6.0.min.js"></script>
|
||||||
<script src="/procentric/application/lib/jquery.color-2.1.2.min.js"></script>
|
<script src="./lib/jquery.color-2.1.2.min.js"></script>
|
||||||
<script src="/procentric/application/lib/jquery.webticker.min.js"></script>
|
<script src="./lib/jquery.webticker.min.js"></script>
|
||||||
<script src="/procentric/application/lib/xml2json.js"></script>
|
<script src="./lib/xml2json.js"></script>
|
||||||
<script src="/procentric/application/lib/owl.carousel.min.js"></script>
|
<script src="./lib/owl.carousel.min.js"></script>
|
||||||
|
|
||||||
<!-- LG HCAP Library -->
|
<!-- LG HCAP Library -->
|
||||||
<script src="/procentric/application/lib/hcap.js"></script>
|
<script src="./lib/hcap.js"></script>
|
||||||
<script src="/procentric/application/lib/idcap.js"></script>
|
<script src="./lib/idcap.js"></script>
|
||||||
|
|
||||||
<!-- CENTIRM HOTELTV Library -->
|
<!-- CENTIRM HOTELTV Library -->
|
||||||
<script src="/procentric/application/lib/hoteltv.js"></script>
|
<script src="./lib/hoteltv.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.ui_utils.js"></script>
|
<script src="./lib/hoteltv.ui_utils.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.ui_appfull.js"></script>
|
<script src="./lib/hoteltv.ui_appfull.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.hcap.js"></script>
|
<script src="./lib/hoteltv.hcap.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.api.js"></script>
|
<script src="./lib/hoteltv.api.js"></script>
|
||||||
|
|
||||||
<!-- MQTT Library -->
|
<!-- MQTT Library -->
|
||||||
<script src="/procentric/application/lib/mqtt.min.js"></script>
|
<script src="./lib/mqtt.min.js"></script>
|
||||||
|
|
||||||
<!-- ACMETICKER Library -->
|
<!-- ACMETICKER Library -->
|
||||||
<script src="/procentric/application/lib/acmeticker.js"></script>
|
<script src="./lib/acmeticker.js"></script>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -410,7 +410,7 @@
|
|||||||
"/hoteltv.app.full.popup.css"];
|
"/hoteltv.app.full.popup.css"];
|
||||||
for ( let _idx=0; _idx<needed_css_files.length; _idx++ )
|
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] + '" />');
|
+ HotelTV.state['theme_root'] + needed_css_files[_idx] + '" />');
|
||||||
}
|
}
|
||||||
console.log("Documents loaded...")
|
console.log("Documents loaded...")
|
||||||
@@ -439,10 +439,10 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 409:
|
case 409:
|
||||||
HotelTV.hcap.PwrOff();
|
HotelTV.hal.PwrOff();
|
||||||
break;
|
break;
|
||||||
case 457: // INFO Key
|
case 457: // INFO Key
|
||||||
HotelTV.hcap.GetScrshot();
|
HotelTV.hal.GetScrshot();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//console.log(`KEY::${e.keyCode}`);
|
//console.log(`KEY::${e.keyCode}`);
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
|
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
|
<link rel="stylesheet" href="./theme/hoteltv.error.css">
|
||||||
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
* Created at : 2020-11-26 02:21:56
|
* Created at : 2020-11-26 02:21:56
|
||||||
* Last modified : 2020-11-26 15:31:40
|
* Last modified : 2020-11-26 15:31:40
|
||||||
*/
|
*/
|
||||||
HotelTV.namespace('HotelTV.hcap');
|
HotelTV.namespace('HotelTV.hal');
|
||||||
HotelTV.hcap = (function() {
|
HotelTV.hal = (function() {
|
||||||
//// 의존 관계 선언
|
//// 의존 관계 선언
|
||||||
|
|
||||||
|
|
||||||
@@ -46,6 +46,11 @@ HotelTV.hcap = (function() {
|
|||||||
'end_of_item'
|
'end_of_item'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
let hcap_property_installer_menuItem_key = [
|
||||||
|
hcap.property.InstallerMenuItem.POWER_MANAGE,
|
||||||
|
hcap.property.InstallerMenuItem.MAX_VOLUME
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const g_media = {
|
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 {string} sz_key property key name.
|
||||||
* @param {object} value is object to setting property
|
* @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)
|
* IDCAP Wrapper Function::> Get Device Configuration(Properties)(Realted IDCAP API:idcap://configuration/property/get)
|
||||||
* @param {string} sz_key property key name.
|
* @param {string} sz_key property key name.
|
||||||
@@ -667,6 +705,39 @@ HotelTV.hcap = (function() {
|
|||||||
__hcapfxn_Reboot();
|
__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() {
|
GetDevInfo: function() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -925,7 +996,36 @@ HotelTV.hcap = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
||||||
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
|
if (_devinfo["power_mode"] != hcap.power.PowerMode.WARM) {
|
||||||
|
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1410,7 +1510,7 @@ HotelTV.hcap = (function() {
|
|||||||
"onSuccess": function(s) {
|
"onSuccess": function(s) {
|
||||||
if (_en_show_msg == true) {
|
if (_en_show_msg == true) {
|
||||||
console.log("register Success!");
|
console.log("register Success!");
|
||||||
HotelTV.hcap.PreAppGetInfo(true);
|
HotelTV.hal.PreAppGetInfo(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"onFailure": function(f) {
|
"onFailure": function(f) {
|
||||||
@@ -1738,7 +1838,7 @@ HotelTV.hcap = (function() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _keyValue는 아래 코드중 하나
|
* _keyValue는 아래 코드중 하나
|
||||||
* hcap.key.Code.ENTER
|
* hcap.key.Code.ENTER
|
||||||
* hcap.key.Code.LEFT
|
* hcap.key.Code.LEFT
|
||||||
* hcap.key.Code.RIGHT
|
* hcap.key.Code.RIGHT
|
||||||
@@ -1747,12 +1847,12 @@ HotelTV.hcap = (function() {
|
|||||||
* hcap.key.Code.DOWN
|
* hcap.key.Code.DOWN
|
||||||
* hcap.key.Code.CH_UP
|
* hcap.key.Code.CH_UP
|
||||||
* hcap.key.Code.CH_DOWN
|
* hcap.key.Code.CH_DOWN
|
||||||
* @param {enum} _keyValue
|
* @param {enum} _keyValue
|
||||||
*/
|
*/
|
||||||
SendVirKeyEvent: function(_keyValue) {
|
SendVirKeyEvent: function(_keyValue) {
|
||||||
hcap.key.sendKey({
|
hcap.key.sendKey({
|
||||||
"virtualKeycode" : _keyValue,
|
"virtualKeycode" : _keyValue,
|
||||||
"onSuccess" : function() { },
|
"onSuccess" : function() { },
|
||||||
"onFailure" : function(f) {
|
"onFailure" : function(f) {
|
||||||
console.error("onFailure : errorMessage = " + f.errorMessage);
|
console.error("onFailure : errorMessage = " + f.errorMessage);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ function __fxn_Set_DebugOpt(_enable, _out_option, _init) {
|
|||||||
HotelTV.dbginfo['en'] = _enable;
|
HotelTV.dbginfo['en'] = _enable;
|
||||||
HotelTV.dbginfo['output'] = _out_option;
|
HotelTV.dbginfo['output'] = _out_option;
|
||||||
|
|
||||||
HotelTV.hcap.Init();
|
HotelTV.hal.Init();
|
||||||
|
|
||||||
/** Develop Mode definitions */
|
/** Develop Mode definitions */
|
||||||
console.log("OPT" + navigator.appVersion);
|
console.log("OPT" + navigator.appVersion);
|
||||||
@@ -144,7 +144,7 @@ function __fxn_Set_DebugOpt(_enable, _out_option, _init) {
|
|||||||
/** Set HCAP Debug Options */
|
/** Set HCAP Debug Options */
|
||||||
if (HotelTV.dbginfo['emulator'] == false) {
|
if (HotelTV.dbginfo['emulator'] == false) {
|
||||||
//Enable/Disable browser debug mode
|
//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) {
|
} else if (navigator.appVersion.includes("Tizen") == true) {
|
||||||
HotelTV.dbginfo['emulator'] = false;
|
HotelTV.dbginfo['emulator'] = false;
|
||||||
@@ -204,7 +204,7 @@ HotelTV.Init = async function() {
|
|||||||
console.log("Start Initialization:: ");
|
console.log("Start Initialization:: ");
|
||||||
|
|
||||||
//STEP#01::> Shutdown Channel
|
//STEP#01::> Shutdown Channel
|
||||||
HotelTV.hcap.ChannelShutDown();
|
HotelTV.hal.ChannelShutDown();
|
||||||
|
|
||||||
//SETP#02::> Set Debug Options
|
//SETP#02::> Set Debug Options
|
||||||
__fxn_Set_DebugOpt(false, 'osd', false);
|
__fxn_Set_DebugOpt(false, 'osd', false);
|
||||||
@@ -212,11 +212,57 @@ HotelTV.Init = async function() {
|
|||||||
|
|
||||||
//STEP#03::> Get Device Info
|
//STEP#03::> Get Device Info
|
||||||
HotelTV.ui_utils.SetBusy(true);
|
HotelTV.ui_utils.SetBusy(true);
|
||||||
|
|
||||||
|
const __ifxn_showFatalErr_Network = function() {
|
||||||
|
let _tmval = 30;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 29000);
|
||||||
|
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 {
|
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) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-devinfo",
|
"system.error.get-devinfo",
|
||||||
"SYSTEM ERROR",
|
"SYSTEM ERROR",
|
||||||
@@ -230,9 +276,7 @@ HotelTV.Init = async function() {
|
|||||||
}
|
}
|
||||||
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -244,6 +288,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.state['registration'] = await HotelTV.api.CheckRegistration();
|
HotelTV.state['registration'] = await HotelTV.api.CheckRegistration();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.check-registration",
|
"system.error.check-registration",
|
||||||
"SYSTEM ERROR",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -272,12 +315,13 @@ HotelTV.Init = async function() {
|
|||||||
// FULL LICENSE MODE
|
// FULL LICENSE MODE
|
||||||
try {
|
try {
|
||||||
HotelTV.settings = await HotelTV.api.GetSettings();
|
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) {
|
if (need_reboot == true) {
|
||||||
console.log("System Need to Reboot");
|
console.log("System Need to Reboot");
|
||||||
HotelTV.ui_utils.SetBusy(false);
|
HotelTV.ui_utils.SetBusy(false);
|
||||||
|
|
||||||
let _tmval = 20;
|
let _tmval = 30;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 29000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.info.change-configuration",
|
"system.info.change-configuration",
|
||||||
"SYSTEM INFO",
|
"SYSTEM INFO",
|
||||||
@@ -291,14 +335,13 @@ HotelTV.Init = async function() {
|
|||||||
}
|
}
|
||||||
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.set-devinfo",
|
"system.set-devinfo",
|
||||||
"SYSTEM ERROR",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -322,6 +363,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.hotelinfo = await HotelTV.api.GetHotelInfo();
|
HotelTV.hotelinfo = await HotelTV.api.GetHotelInfo();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-hotelinfo",
|
"system.error.get-hotelinfo",
|
||||||
"SYSTEM ERROR",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// state[theme_root] 정의
|
// state[theme_root] 정의
|
||||||
@@ -351,6 +391,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.guestinfo = await HotelTV.api.GetGuestInfo();
|
HotelTV.guestinfo = await HotelTV.api.GetGuestInfo();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-guestinfo",
|
"system.error.get-guestinfo",
|
||||||
"SYSTEM ERROR",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,6 +413,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.opening = await HotelTV.api.GetOpeningCtz();
|
HotelTV.opening = await HotelTV.api.GetOpeningCtz();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-openingctzinfo",
|
"system.error.get-openingctzinfo",
|
||||||
"SYSTEM ERROR",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -409,6 +447,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.widget = await HotelTV.api.GetWidgetCtz();
|
HotelTV.widget = await HotelTV.api.GetWidgetCtz();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
//console.log("Display Error page for get widget info");
|
//console.log("Display Error page for get widget info");
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-widget",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -433,6 +470,7 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.tvguide = await HotelTV.api.GetProgramCtz();
|
HotelTV.tvguide = await HotelTV.api.GetProgramCtz();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
let _tmval = 50;
|
let _tmval = 50;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 49000);
|
||||||
//console.log("Display Error page for get tvguide info");
|
//console.log("Display Error page for get tvguide info");
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-tvguideinfo",
|
"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...`);
|
$('.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() {
|
"cb_eoe": null
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,6 +552,7 @@ HotelTV.Init = async function() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let _tmval = 60;
|
let _tmval = 60;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 59000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.unregistered-device",
|
"system.error.unregistered-device",
|
||||||
"SYSTEM ERROR",
|
"SYSTEM ERROR",
|
||||||
@@ -529,17 +566,14 @@ HotelTV.Init = async function() {
|
|||||||
$('.error #countdown').fadeIn(1000);
|
$('.error #countdown').fadeIn(1000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": null
|
||||||
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot`);
|
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
console.log("Initialization:: Done");
|
console.log("Initialization:: Done");
|
||||||
HotelTV.ui_utils.SetBusy(false);
|
HotelTV.ui_utils.SetBusy(false);
|
||||||
|
|
||||||
SpatialNavigation.init();
|
//SpatialNavigation.init();
|
||||||
};
|
};
|
||||||
|
|
||||||
HotelTV.LoadWelCome = async function() {
|
HotelTV.LoadWelCome = async function() {
|
||||||
@@ -579,7 +613,7 @@ HotelTV.LoadWelCome = async function() {
|
|||||||
let _res = HotelTV.devinfo.display_resolution.split("x");
|
let _res = HotelTV.devinfo.display_resolution.split("x");
|
||||||
HotelTV.ui_welcome.Init(_res[0], _res[1]);
|
HotelTV.ui_welcome.Init(_res[0], _res[1]);
|
||||||
|
|
||||||
//await HotelTV.hcap.ShowDevInfo();
|
//await HotelTV.hal.ShowDevInfo();
|
||||||
HotelTV.ui_welcome.Show();
|
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} ::> ${recvMsg.data}`);
|
||||||
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret}`);
|
//console.log(`Recv Msg[${recvMsg.event}]::> ${recvMsg.ret}`);
|
||||||
if (recvMsg.event == "update_report") {
|
if (recvMsg.event == "update_report") {
|
||||||
HotelTV.hcap.GetUptime();
|
HotelTV.hal.GetUptime();
|
||||||
HotelTV.hcap.GetDeviceUsage().then(_usage => {
|
HotelTV.hal.GetDeviceUsage().then(_usage => {
|
||||||
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
|
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
|
||||||
HotelTV.api.ReportBrief(HotelTV.devinfo, HotelTV.guestinfo, _usage);
|
HotelTV.api.ReportBrief(HotelTV.devinfo, HotelTV.guestinfo, _usage);
|
||||||
});
|
});
|
||||||
@@ -761,7 +795,7 @@ HotelTV.LoadAppFull = async function() {
|
|||||||
//STEP#03: INIT HCAP for HotelTV FullAPP
|
//STEP#03: INIT HCAP for HotelTV FullAPP
|
||||||
let tmrAppAuth = setInterval(async function() {
|
let tmrAppAuth = setInterval(async function() {
|
||||||
let _foundNetflix = false;
|
let _foundNetflix = false;
|
||||||
let _hcapAppInfo = await HotelTV.hcap.PreAppGetInfo(false);
|
let _hcapAppInfo = await HotelTV.hal.PreAppGetInfo(false);
|
||||||
HotelTV.state['hcap_app'] = _hcapAppInfo.applist;
|
HotelTV.state['hcap_app'] = _hcapAppInfo.applist;
|
||||||
for (_i = 0; _i < HotelTV.state['hcap_app'].length; _i++) {
|
for (_i = 0; _i < HotelTV.state['hcap_app'].length; _i++) {
|
||||||
if (HotelTV.state['hcap_app'][_i].title == "Netflix") {
|
if (HotelTV.state['hcap_app'][_i].title == "Netflix") {
|
||||||
@@ -783,7 +817,7 @@ HotelTV.LoadAppFull = async function() {
|
|||||||
//siAppToken = _progam[_i].service;
|
//siAppToken = _progam[_i].service;
|
||||||
|
|
||||||
if (siAppName && siAppToken) {
|
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]);
|
HotelTV.ui_appfull.Init(_res[0], _res[1]);
|
||||||
|
|
||||||
//STEP#06; Show UI
|
//STEP#06; Show UI
|
||||||
//await HotelTV.hcap.ShowDevInfo();
|
//await HotelTV.hal.ShowDevInfo();
|
||||||
HotelTV.ui_appfull.Show();
|
HotelTV.ui_appfull.Show();
|
||||||
|
|
||||||
//STEP#06 Register Service web worker
|
//STEP#06 Register Service web worker
|
||||||
@@ -840,8 +874,8 @@ HotelTV.LoadAppFull = async function() {
|
|||||||
HotelTV.widget = recvMsg.data;
|
HotelTV.widget = recvMsg.data;
|
||||||
}
|
}
|
||||||
} else if (recvMsg.event == "update_report") {
|
} else if (recvMsg.event == "update_report") {
|
||||||
HotelTV.hcap.GetUptime();
|
HotelTV.hal.GetUptime();
|
||||||
HotelTV.hcap.GetDeviceUsage().then(_usage => {
|
HotelTV.hal.GetDeviceUsage().then(_usage => {
|
||||||
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
|
//console.log(`USAGE::> CPU[${_usage.cpu}%]`);
|
||||||
HotelTV.api.ReportBrief(HotelTV.devinfo, HotelTV.guestinfo, _usage);
|
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() {
|
HotelTV.UnloadAppFull = async function() {
|
||||||
|
|||||||
@@ -313,12 +313,12 @@ HotelTV.ui_appfull = (function() {
|
|||||||
const _state = HotelTV.state;
|
const _state = HotelTV.state;
|
||||||
let _cur_date = new Date();
|
let _cur_date = new Date();
|
||||||
let _valid_state_keyEvtOnTv = ["tvCtgShow", "tvCtgHide", "tvShortcut"];
|
let _valid_state_keyEvtOnTv = ["tvCtgShow", "tvCtgHide", "tvShortcut"];
|
||||||
|
|
||||||
|
|
||||||
if ( __uifxn_Utils_CheckKeyisNumber(_evt.keyCode)==true ){
|
if ( __uifxn_Utils_CheckKeyisNumber(_evt.keyCode)==true ){
|
||||||
if ( _valid_state_keyEvtOnTv.includes(_state.menu.stage.cur)==true ){
|
if ( _valid_state_keyEvtOnTv.includes(_state.menu.stage.cur)==true ){
|
||||||
_tmrEvt.keyevt.tv_numBtn = _cur_date;
|
_tmrEvt.keyevt.tv_numBtn = _cur_date;
|
||||||
}
|
}
|
||||||
} else if ( _evt.keyCode == gRmtKey.up || _evt.keyCode == gRmtKey.down ||
|
} else if ( _evt.keyCode == gRmtKey.up || _evt.keyCode == gRmtKey.down ||
|
||||||
_evt.keyCode == gRmtKey.left || _evt.keyCode == gRmtKey.right ||
|
_evt.keyCode == gRmtKey.left || _evt.keyCode == gRmtKey.right ||
|
||||||
_evt.keyCode == gRmtKey.chup || _evt.keyCode == gRmtKey.chdown ) {
|
_evt.keyCode == gRmtKey.chup || _evt.keyCode == gRmtKey.chdown ) {
|
||||||
@@ -349,11 +349,11 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeOut(500, function(){
|
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeOut(500, function(){
|
||||||
__uifxn_AppFull_TopWidjetShow(false);
|
__uifxn_AppFull_TopWidjetShow(false);
|
||||||
});
|
});
|
||||||
HotelTV.hcap.VideoWinSize(null);
|
HotelTV.hal.VideoWinSize(null);
|
||||||
break;
|
break;
|
||||||
case 'play_end':
|
case 'play_end':
|
||||||
_state.media.playing = false;
|
_state.media.playing = false;
|
||||||
HotelTV.hcap.MediaStop(
|
HotelTV.hal.MediaStop(
|
||||||
function() {
|
function() {
|
||||||
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
|
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
|
||||||
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(500, function() {
|
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(500, function() {
|
||||||
@@ -388,14 +388,14 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_state.media.playing = true;
|
_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').removeClass('movieplay');
|
||||||
$('.main .mypage .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item.active').addClass('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(){
|
$('.main .mypage .slider').animate({top:1080, left:0}, 1000, function(){
|
||||||
__uifxn_AppFull_TopWidjetShow(false);
|
__uifxn_AppFull_TopWidjetShow(false);
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 'play_end':
|
case 'play_end':
|
||||||
_state.media.playing = false;
|
_state.media.playing = false;
|
||||||
HotelTV.hcap.MediaStop(
|
HotelTV.hal.MediaStop(
|
||||||
function() {
|
function() {
|
||||||
$('.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').removeClass('movieplay');
|
||||||
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
|
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
|
||||||
@@ -466,7 +466,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _typeAppFocusEvt = _evt.eventType;
|
let _typeAppFocusEvt = _evt.eventType;
|
||||||
|
|
||||||
if (_typeAppFocusEvt == "focused") {
|
if (_typeAppFocusEvt == "focused") {
|
||||||
// HotelTV.hcap.SetSoftAp({
|
// HotelTV.hal.SetSoftAp({
|
||||||
// "enable": false,
|
// "enable": false,
|
||||||
// });
|
// });
|
||||||
}else if (_typeAppFocusEvt == "unfocused") {
|
}else if (_typeAppFocusEvt == "unfocused") {
|
||||||
@@ -480,6 +480,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
*/
|
*/
|
||||||
function __uifxn_AppFull_OnHdmiConChangeEvt(_evt) {
|
function __uifxn_AppFull_OnHdmiConChangeEvt(_evt) {
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
|
let _devinfo = HotelTV.devinfo;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
// {Number} param.index - index of the HDMI which was connected or disconnected.
|
// {Number} param.index - index of the HDMI which was connected or disconnected.
|
||||||
// {Boolean} param.connected - true if the HDMI is connected, else false.
|
// {Boolean} param.connected - true if the HDMI is connected, else false.
|
||||||
@@ -501,10 +502,15 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||||
_state.menu.stage.cur = "external_av_hdmi";
|
_state.menu.stage.cur = "external_av_hdmi";
|
||||||
_state.external_input.connected = true;
|
_state.external_input.connected = true;
|
||||||
_state.external_input.last_input.index = Number(_evt.index)-1;
|
// NOTE: US741H0ND모델에서 HDMI셋팅 인덱스는 0부터, 이 부분은 LG에 문의 필요
|
||||||
|
if (_devinfo.model_name.includes("US761H0ND")) {
|
||||||
|
_state.external_input.last_input.index = Number(_evt.index);
|
||||||
|
} else {
|
||||||
|
_state.external_input.last_input.index = Number(_evt.index)-1;
|
||||||
|
}
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('body,html').fadeOut(500, function(){
|
$('body,html').fadeOut(500, function(){
|
||||||
let __retSuccess = HotelTV.hcap.SetExternalInput("HDMI", Number(_evt.index)-1);
|
let __retSuccess = HotelTV.hal.SetExternalInput("HDMI", _state.external_input.last_input.index);
|
||||||
if ( __retSuccess==false ){
|
if ( __retSuccess==false ){
|
||||||
_state.external_input.connected = false;
|
_state.external_input.connected = false;
|
||||||
_state.external_input.last_input.index = 0;
|
_state.external_input.last_input.index = 0;
|
||||||
@@ -577,7 +583,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if ( _state.menu.stage.cur=="external_av_hdmi" ) {
|
} 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 ){
|
if ( __retSuccess==false ){
|
||||||
_state.external_input.connected = false;
|
_state.external_input.connected = false;
|
||||||
_state.external_input.last_input.index = 0;
|
_state.external_input.last_input.index = 0;
|
||||||
@@ -2084,7 +2090,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elMainRoot.fadeOut(500, function() {
|
_elMainRoot.fadeOut(500, function() {
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
|
||||||
__uifxn_AppFull_TopWidjetShow(false);
|
__uifxn_AppFull_TopWidjetShow(false);
|
||||||
_elMainRoot.removeClass("depth_mm");
|
|
||||||
_elAmPupRoot.children('.slider').fadeIn(300, function() {
|
_elAmPupRoot.children('.slider').fadeIn(300, function() {
|
||||||
_elAmPupRoot.children('.bg').fadeIn(500, function() {
|
_elAmPupRoot.children('.bg').fadeIn(500, function() {
|
||||||
_elAmCtgySel.find('.owl-item').addClass('unfocus');
|
_elAmCtgySel.find('.owl-item').addClass('unfocus');
|
||||||
@@ -2146,7 +2151,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.main').fadeIn(1000, () => {
|
$('.main').fadeIn(1000, () => {
|
||||||
_state.menu.stage.cur = "main";
|
_state.menu.stage.cur = "main";
|
||||||
$('.main').addClass("depth_mm");
|
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
||||||
__uifxn_AppFull_TopWidjetShow(true);
|
__uifxn_AppFull_TopWidjetShow(true);
|
||||||
_state.menu.stage.prev = null;
|
_state.menu.stage.prev = null;
|
||||||
@@ -2197,7 +2201,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.main').fadeIn(1000, () => {
|
$('.main').fadeIn(1000, () => {
|
||||||
_state.menu.stage.cur = "main";
|
_state.menu.stage.cur = "main";
|
||||||
$('.main').addClass("depth_mm");
|
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
||||||
__uifxn_AppFull_TopWidjetShow(true);
|
__uifxn_AppFull_TopWidjetShow(true);
|
||||||
_state.menu.stage.prev = null;
|
_state.menu.stage.prev = null;
|
||||||
@@ -3627,7 +3630,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elMainRoot.fadeOut(500, function() {
|
_elMainRoot.fadeOut(500, function() {
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(false);
|
||||||
__uifxn_AppFull_TopWidjetShow(false);
|
__uifxn_AppFull_TopWidjetShow(false);
|
||||||
_elMainRoot.removeClass("depth_mm");
|
|
||||||
_elRsPupRoot.children('.slider').fadeIn(300, function() {
|
_elRsPupRoot.children('.slider').fadeIn(300, function() {
|
||||||
_elRsPupRoot.children('.bg').fadeIn(500, function() {
|
_elRsPupRoot.children('.bg').fadeIn(500, function() {
|
||||||
_elRsCtgySel.find('.owl-item').addClass('unfocus');
|
_elRsCtgySel.find('.owl-item').addClass('unfocus');
|
||||||
@@ -3689,7 +3691,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.main').fadeIn(1000, () => {
|
$('.main').fadeIn(1000, () => {
|
||||||
_state.menu.stage.cur = "main";
|
_state.menu.stage.cur = "main";
|
||||||
$('.main').addClass("depth_mm");
|
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
||||||
__uifxn_AppFull_TopWidjetShow(true);
|
__uifxn_AppFull_TopWidjetShow(true);
|
||||||
_state.menu.stage.prev = null;
|
_state.menu.stage.prev = null;
|
||||||
@@ -3739,7 +3740,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.main').fadeIn(1000, () => {
|
$('.main').fadeIn(1000, () => {
|
||||||
_state.menu.stage.cur = "main";
|
_state.menu.stage.cur = "main";
|
||||||
$('.main').addClass("depth_mm");
|
|
||||||
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
__uifxn_AppFull_HotKey_ShowBtnOnMM(true);
|
||||||
__uifxn_AppFull_TopWidjetShow(true);
|
__uifxn_AppFull_TopWidjetShow(true);
|
||||||
_state.menu.stage.prev = null;
|
_state.menu.stage.prev = null;
|
||||||
@@ -3972,8 +3972,8 @@ HotelTV.ui_appfull = (function() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return tv cagegory id by name
|
* Return tv cagegory id by name
|
||||||
* @param {string} _ctgy_name
|
* @param {string} _ctgy_name
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
function __uifxn_AppFull_TVCtgyIdByName(_ctgy_name="all") {
|
function __uifxn_AppFull_TVCtgyIdByName(_ctgy_name="all") {
|
||||||
let _program = HotelTV.tvguide.program;
|
let _program = HotelTV.tvguide.program;
|
||||||
@@ -4038,32 +4038,42 @@ HotelTV.ui_appfull = (function() {
|
|||||||
|
|
||||||
let _rtn_epg = null;
|
let _rtn_epg = null;
|
||||||
for (_j=0; _j<_epg_prom_info.length; _j++) {
|
for (_j=0; _j<_epg_prom_info.length; _j++) {
|
||||||
let _schTmPrev = new Date();
|
let _schTmNext = new Date();
|
||||||
let _schTmCur = new Date();
|
let _schTmCur = new Date();
|
||||||
let _epgProgInf_Cur = _epg_prom_info[_j];
|
let _epgProgInf_Cur = _epg_prom_info[_j];
|
||||||
let _epgProgInf_Prev = null;
|
let _epgProgInf_Next = null;
|
||||||
|
|
||||||
if (_epgProgInf_Cur.time.length != 5) {
|
if (_epgProgInf_Cur.time.length != 5) {
|
||||||
console.log("EPG Schedule org time is NULL");
|
console.log("EPG Schedule org time is NULL");
|
||||||
} else {
|
} else {
|
||||||
|
let __str_playingTime = null;
|
||||||
|
|
||||||
_schTmCur.setHours(Number(_epgProgInf_Cur.time.charAt(0) + _epgProgInf_Cur.time.charAt(1)));
|
_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)));
|
_schTmCur.setMinutes(Number(_epgProgInf_Cur.time.charAt(3) + _epgProgInf_Cur.time.charAt(4)));
|
||||||
|
|
||||||
// EPG shedule정보는 인덱스 0부터 시작
|
// EPG shedule정보는 인덱스 0부터 시작
|
||||||
if ( _j>0 ){
|
if ( _j<(_epg_prom_info.length-1) ){
|
||||||
_epgProgInf_Prev = _epg_prom_info[_j-1];
|
_epgProgInf_Next = _epg_prom_info[_j+1];
|
||||||
_schTmPrev.setHours(Number(_epgProgInf_Prev.time.charAt(0) + _epgProgInf_Prev.time.charAt(1)));
|
_schTmNext.setHours(Number(_epgProgInf_Next.time.charAt(0) + _epgProgInf_Next.time.charAt(1)));
|
||||||
_schTmPrev.setMinutes(Number(_epgProgInf_Prev.time.charAt(3) + _epgProgInf_Prev.time.charAt(4)));
|
_schTmNext.setMinutes(Number(_epgProgInf_Next.time.charAt(3) + _epgProgInf_Next.time.charAt(4)));
|
||||||
}
|
|
||||||
|
__str_playingTime = `${_epgProgInf_Cur.time}~${_epgProgInf_Next.time}`;
|
||||||
let _t_playTotal = Math.round((_schTmCur - _schTmPrev) / 60000); //Total play time in minuate
|
} else {
|
||||||
let _t_playRemain = Math.round((_schTmCur - _tm_cur) / 60000); //Remain play time in minuate
|
//
|
||||||
|
_schTmNext.setMinutes(Number(0));
|
||||||
|
_schTmNext.setHours(Number(24));
|
||||||
|
|
||||||
|
__str_playingTime = `${_epgProgInf_Cur.time}~`;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
_rtn_epg = _epgProgInf_Cur;
|
||||||
if (_t_playRemain >= 0) {
|
if (_t_playRemain >= 0) {
|
||||||
//console.log("CHNAME::>" + _ch_name + " Remaining::> " + _t_playRemain);
|
//console.log("CHNAME::>" + _ch_name + " Remaining::> " + _t_playRemain);
|
||||||
_rtn_epg["progress_pcent"] = parseInt(((_t_playTotal-_t_playRemain)*100)/_t_playTotal, 10);
|
_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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4117,7 +4127,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( _tm_diff_ms_tvctrl>=5000 )
|
if ( _tm_diff_ms_tvctrl>=5000 )
|
||||||
{
|
{
|
||||||
if ( _state.menu.stage.cur=="tvCtgShow" || _state.menu.stage.cur=="tvCtgHide" )
|
if ( _state.menu.stage.cur=="tvCtgShow" || _state.menu.stage.cur=="tvCtgHide" )
|
||||||
{
|
{
|
||||||
@@ -4141,7 +4151,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
___ifxn_hideTvEpgFrm();
|
___ifxn_hideTvEpgFrm();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4179,7 +4189,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
|
|
||||||
___ifxn_fadeout_shortcutFrm();
|
___ifxn_fadeout_shortcutFrm();
|
||||||
|
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
if ( _state.tv.shortkey.ch_item_idx!=null ) {
|
if ( _state.tv.shortkey.ch_item_idx!=null ) {
|
||||||
const _mmIdx_tv = _state.menu.main.cur;
|
const _mmIdx_tv = _state.menu.main.cur;
|
||||||
let _tvCtgAllIdx = _state.menu.main[_mmIdx].cur = __uifxn_AppFull_TVCtgyIdByName("all");
|
let _tvCtgAllIdx = _state.menu.main[_mmIdx].cur = __uifxn_AppFull_TVCtgyIdByName("all");
|
||||||
@@ -4665,7 +4675,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
if (uri_video != null) {
|
if (uri_video != null) {
|
||||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||||
_state.menu.stage.cur = "mypage_replay_welcome_vod";
|
_state.menu.stage.cur = "mypage_replay_welcome_vod";
|
||||||
HotelTV.hcap.MediaPlay(
|
HotelTV.hal.MediaPlay(
|
||||||
uri_video,
|
uri_video,
|
||||||
"",
|
"",
|
||||||
"video/mp4",
|
"video/mp4",
|
||||||
@@ -4688,7 +4698,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
{
|
{
|
||||||
if (_state.media.playing == true) {
|
if (_state.media.playing == true) {
|
||||||
_state.media.playing = false;
|
_state.media.playing = false;
|
||||||
HotelTV.hcap.MediaStop(
|
HotelTV.hal.MediaStop(
|
||||||
function() {
|
function() {
|
||||||
$('.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').removeClass('movieplay');
|
||||||
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
|
$('.main .mypage .slider').animate({top:864, left:0}, 1000, function(){
|
||||||
@@ -4792,8 +4802,8 @@ HotelTV.ui_appfull = (function() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* HotelTV UI[AppFull] Wrapper Function::> request tv channel function
|
* HotelTV UI[AppFull] Wrapper Function::> request tv channel function
|
||||||
* @param {Number} _force_ctg_item_idx
|
* @param {Number} _force_ctg_item_idx
|
||||||
* @param {Number} _force_ch_item_idx
|
* @param {Number} _force_ch_item_idx
|
||||||
* @param {function} _cbfxn_success
|
* @param {function} _cbfxn_success
|
||||||
* @param {function} _cbfxn_failure
|
* @param {function} _cbfxn_failure
|
||||||
*/
|
*/
|
||||||
@@ -4857,7 +4867,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
} else if (_tvChInfo.type == "encoder") {
|
} else if (_tvChInfo.type == "encoder") {
|
||||||
// ENCODER
|
// ENCODER
|
||||||
}
|
}
|
||||||
HotelTV.hcap.ChannelSetup(_tvChInfo.type, _chReqParam);
|
HotelTV.hal.ChannelSetup(_tvChInfo.type, _chReqParam);
|
||||||
|
|
||||||
//TODO: 아래 실제 채널 셋업 부분 주석처리 되어 있는데, IP와 RF모두 처리 할 수 있도록 구현할것
|
//TODO: 아래 실제 채널 셋업 부분 주석처리 되어 있는데, IP와 RF모두 처리 할 수 있도록 구현할것
|
||||||
//let _uri_stream = _tvChInfo.url.split('://@')[1];
|
//let _uri_stream = _tvChInfo.url.split('://@')[1];
|
||||||
@@ -4865,7 +4875,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
//let _uri_ip = _uri_stream.split(':')[0];
|
//let _uri_ip = _uri_stream.split(':')[0];
|
||||||
//let _uri_port = _uri_stream.split(':')[1];
|
//let _uri_port = _uri_stream.split(':')[1];
|
||||||
//console.log(`ip = ${_uri_ip} port=${_uri_port} protocol=${_typ_proto}`);
|
//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 +4883,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
// let max = Math.floor(16);
|
// let max = Math.floor(16);
|
||||||
// let _major = Math.floor(Math.random() * (max - min + 1)) + min;
|
// let _major = Math.floor(Math.random() * (max - min + 1)) + min;
|
||||||
// console.log("Major=5 minor=" + _major);
|
// 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([{
|
HotelTV.api.ReportEvent([{
|
||||||
@@ -4937,12 +4947,13 @@ HotelTV.ui_appfull = (function() {
|
|||||||
{
|
{
|
||||||
let _ChItem = _tvCtgyAllChannels[_idx];
|
let _ChItem = _tvCtgyAllChannels[_idx];
|
||||||
// _chNumber는 -기준으로 잘라낸 앞숫자, 예를들면 16-1이라면 _chNumber는 16이 됨.
|
// _chNumber는 -기준으로 잘라낸 앞숫자, 예를들면 16-1이라면 _chNumber는 16이 됨.
|
||||||
let _ChNumber = __ifxn_getChItemValue(_ChItem, "number").toString().split('-');
|
let _ChNumStr = __ifxn_getChItemValue(_ChItem, "number").toString();
|
||||||
|
let _ChNumber = Number(_ChNumStr.split('-')[0]);
|
||||||
// Find out matched channel
|
|
||||||
if ( Number(_ChNumber)==Number(_strReqNumNext) ){
|
// Find out matched channel
|
||||||
|
if ( _ChNumber==Number(_strReqNumNext) ){
|
||||||
// Find out
|
// Find out
|
||||||
_state.tv.shortkey.ch_item_idx = Number(__ifxn_getChItemIdxByNumber(_strReqNumNext));
|
_state.tv.shortkey.ch_item_idx = Number(__ifxn_getChItemIdxByNumber(_ChNumStr));
|
||||||
console.log("Find out matched channel index(of ALL category)::> " + _state.tv.shortkey.ch_item_idx);
|
console.log("Find out matched channel index(of ALL category)::> " + _state.tv.shortkey.ch_item_idx);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -5160,7 +5171,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _egp_prog_inf = null;
|
let _egp_prog_inf = null;
|
||||||
|
|
||||||
|
|
||||||
//Update channel logo image
|
//Update channel logo image
|
||||||
_elDivTvChLogo.css({ "background-image": "url(" + _tvChInfo.logo.file.download + ")" });
|
_elDivTvChLogo.css({ "background-image": "url(" + _tvChInfo.logo.file.download + ")" });
|
||||||
|
|
||||||
//Update channel number
|
//Update channel number
|
||||||
@@ -5173,18 +5184,25 @@ HotelTV.ui_appfull = (function() {
|
|||||||
if (_egp_prog_inf.epg_info != null) {
|
if (_egp_prog_inf.epg_info != null) {
|
||||||
_elDivTvChEpgTitle.text(_egp_prog_inf.epg_info.name);
|
_elDivTvChEpgTitle.text(_egp_prog_inf.epg_info.name);
|
||||||
_elDivTvChEpgDetails.find('#tm_playing').text(_trTbl.ui.tv.epg.progamtime[_state.lang] + _egp_prog_inf.epg_info.playing_time);
|
_elDivTvChEpgDetails.find('#tm_playing').text(_trTbl.ui.tv.epg.progamtime[_state.lang] + _egp_prog_inf.epg_info.playing_time);
|
||||||
|
|
||||||
//let _new_progress_bar_width = parseInt(_elDivTvChEpgDetails.find("#tm_chart").width()*_egp_prog_inf.epg_info.progress_pcent/100);
|
//let _new_progress_bar_width = parseInt(_elDivTvChEpgDetails.find("#tm_chart").width()*_egp_prog_inf.epg_info.progress_pcent/100);
|
||||||
let _new_progress_bar_width = parseInt(835*_egp_prog_inf.epg_info.progress_pcent/100);
|
let _new_progress_bar_width = parseInt(835*_egp_prog_inf.epg_info.progress_pcent/100);
|
||||||
_elDivTvChEpgDetails.find('.progress').width(_new_progress_bar_width);
|
_elDivTvChEpgDetails.find('.progress').width(_new_progress_bar_width);
|
||||||
|
} else {
|
||||||
|
_elDivTvChEpgTitle.text("");
|
||||||
|
_elDivTvChEpgDetails.find('#tm_playing').text("");
|
||||||
|
|
||||||
|
//let _new_progress_bar_width = parseInt(_elDivTvChEpgDetails.find("#tm_chart").width()*_egp_prog_inf.epg_info.progress_pcent/100);
|
||||||
|
let _new_progress_bar_width = 0;
|
||||||
|
_elDivTvChEpgDetails.find('.progress').width(_new_progress_bar_width);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fade in epg
|
// Fade in epg
|
||||||
__uifxn_AppFull_TVEpgFadeIn();
|
__uifxn_AppFull_TVEpgFadeIn();
|
||||||
|
|
||||||
if (_action == "on_load") {
|
if (_action == "on_load") {
|
||||||
//_state.menu.stage.cur = "tvCtgShow";
|
//_state.menu.stage.cur = "tvCtgShow";
|
||||||
// TODO: Request Channel
|
// TODO: Request Channel
|
||||||
} else if (_action == "ch_up") {
|
} else if (_action == "ch_up") {
|
||||||
// TODO: Request Channel
|
// TODO: Request Channel
|
||||||
} else if (_action == "ch_down") {
|
} else if (_action == "ch_down") {
|
||||||
@@ -5674,7 +5692,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.main').animate({ top: -1080, left: 0 }, 1000, () => {
|
$('.main').animate({ top: -1080, left: 0 }, 1000, () => {
|
||||||
$('.main .ctzgen').hide();
|
$('.main .ctzgen').hide();
|
||||||
_state.media.playing = false;
|
_state.media.playing = false;
|
||||||
HotelTV.hcap.MediaStop(null, null);
|
HotelTV.hal.MediaStop(null, null);
|
||||||
|
|
||||||
$('#lst_ctzgenbg').off('refresh.owl.carousel');
|
$('#lst_ctzgenbg').off('refresh.owl.carousel');
|
||||||
$('#lst_ctzgenbg').off('change.owl.carousel');
|
$('#lst_ctzgenbg').off('change.owl.carousel');
|
||||||
@@ -5693,7 +5711,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
if ($('.main .ctzgen .bg .owl-carousel .owl-item.active .ctz_mv_ctrl').length == 1) {
|
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');
|
let uri_video = $($('.main .ctzgen .bg .owl-carousel .owl-item.active .ctz_mv_ctrl')[0]).attr('video_url');
|
||||||
if (uri_video != null) {
|
if (uri_video != null) {
|
||||||
HotelTV.hcap.MediaPlay(
|
HotelTV.hal.MediaPlay(
|
||||||
uri_video,
|
uri_video,
|
||||||
"",
|
"",
|
||||||
"video/mp4",
|
"video/mp4",
|
||||||
@@ -5710,7 +5728,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
} else if (event.keyCode == gRmtKey.stop) {
|
} else if (event.keyCode == gRmtKey.stop) {
|
||||||
if (_state.media.playing == true) {
|
if (_state.media.playing == true) {
|
||||||
_state.media.playing = false;
|
_state.media.playing = false;
|
||||||
HotelTV.hcap.MediaStop(
|
HotelTV.hal.MediaStop(
|
||||||
function() {
|
function() {
|
||||||
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
|
$('.main .ctzgen .bg .owl-carousel .owl-stage-outer .owl-stage .owl-item').removeClass('movieplay');
|
||||||
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(1000);
|
$('.owl-theme .owl-nav.disabled+.owl-dots').fadeIn(1000);
|
||||||
@@ -5780,7 +5798,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
|
|
||||||
const __ifxn_exitTvMenu = function() {
|
const __ifxn_exitTvMenu = function() {
|
||||||
// 현재 재생중인 TV채널 종료
|
// 현재 재생중인 TV채널 종료
|
||||||
HotelTV.hcap.ChannelShutDown();
|
HotelTV.hal.ChannelShutDown();
|
||||||
|
|
||||||
if (_hndl_tmrTvChnMngr != null) {
|
if (_hndl_tmrTvChnMngr != null) {
|
||||||
clearInterval(_hndl_tmrTvChnMngr);
|
clearInterval(_hndl_tmrTvChnMngr);
|
||||||
@@ -5973,7 +5991,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
__ifxn_exitTvMenu();
|
__ifxn_exitTvMenu();
|
||||||
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ){
|
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ){
|
||||||
//Navigate TV shortcut lists
|
//Navigate TV shortcut lists
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
_state.menu.stage.cur = "tvShortcut";
|
_state.menu.stage.cur = "tvShortcut";
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
||||||
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
||||||
@@ -5999,10 +6017,10 @@ HotelTV.ui_appfull = (function() {
|
|||||||
__ifxn_exitTvMenu();
|
__ifxn_exitTvMenu();
|
||||||
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ) {
|
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ) {
|
||||||
//Navigate TV shortcut lists
|
//Navigate TV shortcut lists
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
_state.menu.stage.cur = "tvShortcut";
|
_state.menu.stage.cur = "tvShortcut";
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
||||||
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
||||||
if ( __uifxn_AppFull_TVDrawShortcutKey_Mode1(true, "build", event.keyCode)==0 ){
|
if ( __uifxn_AppFull_TVDrawShortcutKey_Mode1(true, "build", event.keyCode)==0 ){
|
||||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||||
_state.menu.stage.cur = "tvShortcut";
|
_state.menu.stage.cur = "tvShortcut";
|
||||||
@@ -6015,18 +6033,18 @@ HotelTV.ui_appfull = (function() {
|
|||||||
// console.log("TV shortcut routine: key:" + event.keyCode);
|
// console.log("TV shortcut routine: key:" + event.keyCode);
|
||||||
if (event.keyCode == gRmtKey.back) {
|
if (event.keyCode == gRmtKey.back) {
|
||||||
// TV메뉴로 복귀
|
// TV메뉴로 복귀
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
//
|
//
|
||||||
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode1(false, "exitWithoutChchange", event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode1(false, "exitWithoutChchange", event.keyCode);
|
||||||
}
|
}
|
||||||
_state.menu.stage.cur = _state.menu.stage.prev;
|
_state.menu.stage.cur = _state.menu.stage.prev;
|
||||||
_state.menu.stage.prev = null;
|
_state.menu.stage.prev = null;
|
||||||
} else if (event.keyCode == gRmtKey.enter) {
|
} else if (event.keyCode == gRmtKey.enter) {
|
||||||
// 번호키를 이용한 채널 선택 팝업 삭제
|
// 번호키를 이용한 채널 선택 팝업 삭제
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
//
|
//
|
||||||
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode1(false, "exitWithChchange", event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode1(false, "exitWithChchange", event.keyCode);
|
||||||
}
|
}
|
||||||
_state.menu.stage.cur = _state.menu.stage.prev;
|
_state.menu.stage.cur = _state.menu.stage.prev;
|
||||||
@@ -6035,13 +6053,13 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_tmrEvt.keyevt.tv_ctrl = new Date();
|
_tmrEvt.keyevt.tv_ctrl = new Date();
|
||||||
_tmrEvt.keyevt.tv_ctrl.setSeconds(_tmrEvt.keyevt.tv_ctrl.getSeconds() - 3);
|
_tmrEvt.keyevt.tv_ctrl.setSeconds(_tmrEvt.keyevt.tv_ctrl.getSeconds() - 3);
|
||||||
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ) {
|
} else if ( __uifxn_Utils_CheckKeyisNumber(event.keyCode)==true ) {
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode0(event.keyCode);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
if ( _programTv.shortcutkeyMode=="mode_0" ) {
|
||||||
//
|
//
|
||||||
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
} else if ( _programTv.shortcutkeyMode=="mode_1" ) {
|
||||||
__uifxn_AppFull_TVDrawShortcutKey_Mode1(true, "move", event.keyCode);
|
__uifxn_AppFull_TVDrawShortcutKey_Mode1(true, "move", event.keyCode);
|
||||||
}
|
}
|
||||||
console.log("TVSHORTCUT CHNUM: " + _state.tv.shortkey.ch_item_idx);
|
console.log("TVSHORTCUT CHNUM: " + _state.tv.shortkey.ch_item_idx);
|
||||||
@@ -6124,7 +6142,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Title
|
// Title
|
||||||
_elLangSelTitleDiv.text(_trTbl.system.szsellanguage[_state.lang]);
|
_elLangSelTitleDiv.text(_trTbl.system.szsellanguage[_state.lang]);
|
||||||
|
|
||||||
// Usages
|
// Usages
|
||||||
@@ -6149,6 +6167,19 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _elLangSelUsageDiv = _elLangSelCtrlDiv.children('.usage');
|
let _elLangSelUsageDiv = _elLangSelCtrlDiv.children('.usage');
|
||||||
let _elLangSelButtonsDiv = _elLangSelCtrlDiv.children('.buttons');
|
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) {
|
const ___ifxn_moveLangButton = function(_direction) {
|
||||||
let selectedBtnItemCur = _elLangSelButtonsDiv.find('.focus');
|
let selectedBtnItemCur = _elLangSelButtonsDiv.find('.focus');
|
||||||
@@ -6171,13 +6202,15 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elLangSelButtonsDiv.find('.langBtn').last().addClass("focus");
|
_elLangSelButtonsDiv.find('.langBtn').last().addClass("focus");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
___ifxn_updateLangSelTitleAndUsages();
|
||||||
}
|
}
|
||||||
|
|
||||||
const __ifxn_sendNextLangUsrData = async function(_nextLang, __cbFxnFailure=null, __cbFxn_Success=null) {
|
const __ifxn_sendNextLangUsrData = async function(_nextLang, __cbFxnFailure=null, __cbFxn_Success=null) {
|
||||||
try {
|
try {
|
||||||
let found_dev_locale = false;
|
let found_dev_locale = false;
|
||||||
// SET PLATFORM LANGUAGE
|
// SET PLATFORM LANGUAGE
|
||||||
// HotelTV.hcap.SetPlatformLanguage(_state.lang);
|
// HotelTV.hal.SetPlatformLanguage(_state.lang);
|
||||||
if ( 'getLocaleList' in HotelTV.devinfo )
|
if ( 'getLocaleList' in HotelTV.devinfo )
|
||||||
{
|
{
|
||||||
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
|
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
|
||||||
@@ -6189,10 +6222,10 @@ HotelTV.ui_appfull = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( found_dev_locale==true ){
|
if ( found_dev_locale==true ){
|
||||||
HotelTV.hcap.SetDeviceLocale(_nextLang);
|
HotelTV.hal.SetDeviceLocale(_nextLang);
|
||||||
}else{
|
}else{
|
||||||
console.log("Set Default device locale set to en-US");
|
console.log("Set Default device locale set to en-US");
|
||||||
HotelTV.hcap.SetDeviceLocale('en-US');
|
HotelTV.hal.SetDeviceLocale('en-US');
|
||||||
}
|
}
|
||||||
|
|
||||||
let _usrDataJson = {
|
let _usrDataJson = {
|
||||||
@@ -6206,7 +6239,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elLangSelDiv.fadeOut(1000, function() {
|
_elLangSelDiv.fadeOut(1000, function() {
|
||||||
if ( __cbFxnFailure ){ __cbFxnFailure(); }
|
if ( __cbFxnFailure ){ __cbFxnFailure(); }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -6345,7 +6378,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
} else {
|
} else {
|
||||||
if ( _state.menu.stage.cur=="tvCtgShow" || _state.menu.stage.cur=="tvCtgHide" )
|
if ( _state.menu.stage.cur=="tvCtgShow" || _state.menu.stage.cur=="tvCtgHide" )
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -7004,7 +7037,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
// 현재 재생중인 TV채널 종료
|
// 현재 재생중인 TV채널 종료
|
||||||
if ( _state.tv.playing == true ){
|
if ( _state.tv.playing == true ){
|
||||||
console.warn("Try to channel shutdown..");
|
console.warn("Try to channel shutdown..");
|
||||||
HotelTV.hcap.ChannelShutDown();
|
HotelTV.hal.ChannelShutDown();
|
||||||
_state.tv.playing = false;
|
_state.tv.playing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7039,12 +7072,12 @@ HotelTV.ui_appfull = (function() {
|
|||||||
console.log("Preparing TV APP::>" + _program[Number(_state.menu.main.cur)].service);
|
console.log("Preparing TV APP::>" + _program[Number(_state.menu.main.cur)].service);
|
||||||
if (_program[Number(_state.menu.main.cur)].service == "youtube") {
|
if (_program[Number(_state.menu.main.cur)].service == "youtube") {
|
||||||
// console.log(`Type:${_program[Number(_state.menu.main.cur)].type} preparing WIFI AP...`);
|
// console.log(`Type:${_program[Number(_state.menu.main.cur)].type} preparing WIFI AP...`);
|
||||||
// HotelTV.hcap.SetSoftAp({
|
// HotelTV.hal.SetSoftAp({
|
||||||
// "enable": true,
|
// "enable": true,
|
||||||
// "ssid": "TVWIFI-" + HotelTV.guestinfo.room,
|
// "ssid": "TVWIFI-" + HotelTV.guestinfo.room,
|
||||||
// "password": "12345678",
|
// "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") {
|
} else if (_program[Number(_state.menu.main.cur)].service == "netflix") {
|
||||||
let _foundNetflix = false;
|
let _foundNetflix = false;
|
||||||
for (_i = 0; _i < _state['hcap_app'].length; _i++) {
|
for (_i = 0; _i < _state['hcap_app'].length; _i++) {
|
||||||
@@ -7054,12 +7087,12 @@ HotelTV.ui_appfull = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_foundNetflix == true) {
|
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 {
|
} else {
|
||||||
HotelTV.ui_utils.ShowNotificationMsgBalloon(_trTbl.system.ott_service_not_ready[_state.lang], 5);
|
HotelTV.ui_utils.ShowNotificationMsgBalloon(_trTbl.system.ott_service_not_ready[_state.lang], 5);
|
||||||
}
|
}
|
||||||
} else if (_program[Number(_state.menu.main.cur)].service == "screenmirroring") {
|
} 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") {
|
} else if (_program[Number(_state.menu.main.cur)].type.toLowerCase() == "language") {
|
||||||
console.log("Preparing language select sub menu...");
|
console.log("Preparing language select sub menu...");
|
||||||
@@ -7530,6 +7563,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 12000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -7544,7 +7578,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -7553,6 +7586,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 12000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -7567,7 +7601,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -7576,6 +7609,8 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 32000);
|
||||||
|
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -7590,8 +7625,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
//setTimeout(HotelTV.hcap.PwrOff, 500);
|
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -7601,7 +7634,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
let _tmval = 30;
|
let _tmval = 30;
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 32000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -7616,7 +7649,6 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
switch (_stateMedia) {
|
switch (_stateMedia) {
|
||||||
case 'play_start':
|
case 'play_start':
|
||||||
_media_status = 'playing';
|
_media_status = 'playing';
|
||||||
HotelTV.hcap.VideoWinSize(null);
|
HotelTV.hal.VideoWinSize(null);
|
||||||
|
|
||||||
//Hide welcome page
|
//Hide welcome page
|
||||||
__uifxn_WC_Show(null, function() {
|
__uifxn_WC_Show(null, function() {
|
||||||
@@ -86,7 +86,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
break;
|
break;
|
||||||
case 'play_end':
|
case 'play_end':
|
||||||
_media_status = 'stopped';
|
_media_status = 'stopped';
|
||||||
HotelTV.hcap.MediaShutdown(
|
HotelTV.hal.MediaShutdown(
|
||||||
function() {
|
function() {
|
||||||
$(".control .skip_video").hide();
|
$(".control .skip_video").hide();
|
||||||
console.log("Media Desory::Done");
|
console.log("Media Desory::Done");
|
||||||
@@ -99,7 +99,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'play_end_need_destory':
|
case 'play_end_need_destory':
|
||||||
HotelTV.hcap.MediaShutdown(
|
HotelTV.hal.MediaShutdown(
|
||||||
function() {
|
function() {
|
||||||
$(".control .skip_video").hide();
|
$(".control .skip_video").hide();
|
||||||
console.log("Media Desory::Done");
|
console.log("Media Desory::Done");
|
||||||
@@ -126,7 +126,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
|
|
||||||
case 'play_stop_requtested':
|
case 'play_stop_requtested':
|
||||||
_media_status = 'stopped';
|
_media_status = 'stopped';
|
||||||
HotelTV.hcap.MediaShutdown(
|
HotelTV.hal.MediaShutdown(
|
||||||
function() {
|
function() {
|
||||||
$(".control .skip_video").hide();
|
$(".control .skip_video").hide();
|
||||||
console.log("Media Desory::Done");
|
console.log("Media Desory::Done");
|
||||||
@@ -332,7 +332,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
|
|
||||||
let found_dev_locale = false;
|
let found_dev_locale = false;
|
||||||
// SET PLATFORM LANGUAGE
|
// SET PLATFORM LANGUAGE
|
||||||
// HotelTV.hcap.SetPlatformLanguage(_state.lang);
|
// HotelTV.hal.SetPlatformLanguage(_state.lang);
|
||||||
if ( 'getLocaleList' in HotelTV.devinfo )
|
if ( 'getLocaleList' in HotelTV.devinfo )
|
||||||
{
|
{
|
||||||
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
|
for( let _localeIdx in HotelTV.devinfo.getLocaleList )
|
||||||
@@ -344,10 +344,10 @@ HotelTV.ui_welcome = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( found_dev_locale==true ){
|
if ( found_dev_locale==true ){
|
||||||
HotelTV.hcap.SetDeviceLocale(_state.lang);
|
HotelTV.hal.SetDeviceLocale(_state.lang);
|
||||||
}else{
|
}else{
|
||||||
console.log("Set Default device locale set to en-US");
|
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') {
|
} else if (_ctzWc.intro == 'video') {
|
||||||
HotelTV.ui_utils.SetBusy(true);
|
HotelTV.ui_utils.SetBusy(true);
|
||||||
/** Play movie clip */
|
/** Play movie clip */
|
||||||
HotelTV.hcap.MediaPlay(
|
HotelTV.hal.MediaPlay(
|
||||||
_ctzWc.videos[_state.lang].download,
|
_ctzWc.videos[_state.lang].download,
|
||||||
null,
|
null,
|
||||||
"video/mp4",
|
"video/mp4",
|
||||||
@@ -478,7 +478,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
let _tmval = 10;
|
let _tmval = 10;
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 12000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -493,7 +493,6 @@ HotelTV.ui_welcome = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -501,7 +500,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
let _tmval = 10;
|
let _tmval = 10;
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 12000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -516,7 +515,6 @@ HotelTV.ui_welcome = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -524,7 +522,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
let _tmval = 30;
|
let _tmval = 30;
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 32000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -539,8 +537,6 @@ HotelTV.ui_welcome = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
//setTimeout(HotelTV.hcap.PwrOff, 500);
|
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -550,7 +546,7 @@ HotelTV.ui_welcome = (function() {
|
|||||||
let _tmval = 30;
|
let _tmval = 30;
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
|
setTimeout(HotelTV.hal.Reboot, 32000);
|
||||||
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
HotelTV.ui_utils.ShowSysNoticeMsg(true,
|
||||||
"notice",
|
"notice",
|
||||||
"SYSTEM NOTICE",
|
"SYSTEM NOTICE",
|
||||||
@@ -565,7 +561,6 @@ HotelTV.ui_welcome = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot, 500);
|
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
width: 620px;
|
width: 620px;
|
||||||
height: 830px;
|
height: 830px;
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
padding: 0px 12px 0px 12px;
|
padding: 0px 12px 0px 12px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,6 @@
|
|||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(19, 21, 23, 0.6);
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
@@ -133,7 +133,7 @@ div#sm_item_icon {
|
|||||||
width: 360px;
|
width: 360px;
|
||||||
height: 734px;
|
height: 734px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ body {
|
|||||||
/* background-image: url(./images/bg_language_welcome_box.png);
|
/* background-image: url(./images/bg_language_welcome_box.png);
|
||||||
background-size: cover; */
|
background-size: cover; */
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background: linear-gradient(rgba(50,40,26,0.7),rgba(50,46,26,0.85));
|
background: linear-gradient(rgba(45,45,45,0.6),rgba(16,16,16,0.7));
|
||||||
border-radius: 11px;
|
border-radius: 11px;
|
||||||
filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
|
filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 615 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 714 B |
@@ -5,9 +5,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
/* background-image: url(./images/hoteltv_service_preparing.png); */
|
background-image: url(../images/hoteltv_service_preparing_joson.jpg);
|
||||||
background-image: url(/procentric/application/images/hoteltv_service_preparing_joson.jpg);
|
|
||||||
/* background-image: url(/procentric/application/images/hoteltv_service_preparing.png); */
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.carousel.min.css">
|
<link rel="stylesheet" href="./css/owlcarousel/owl.carousel.min.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/css/owlcarousel/owl.theme.default.min.css">
|
<link rel="stylesheet" href="./css/owlcarousel/owl.theme.default.min.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.ui_utils.css">
|
<link rel="stylesheet" href="./theme/hoteltv.ui_utils.css">
|
||||||
<link rel="stylesheet" href="/procentric/application/theme/hoteltv.error.css">
|
<link rel="stylesheet" href="./theme/hoteltv.error.css">
|
||||||
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
<title>CENTIRM LG-PROCENTRIC HOTEL SERVICE</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -67,25 +67,25 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Standard & 3rd party Library -->
|
<!-- Standard & 3rd party Library -->
|
||||||
<script src="/procentric/application/lib/jquery-3.6.0.min.js"></script>
|
<script src="./lib/jquery-3.6.0.min.js"></script>
|
||||||
<script src="/procentric/application/lib/jquery.color-2.1.2.min.js"></script>
|
<script src="./lib/jquery.color-2.1.2.min.js"></script>
|
||||||
<script src="/procentric/application/lib/xml2json.js"></script>
|
<script src="./lib/xml2json.js"></script>
|
||||||
<script src="/procentric/application/lib/spatial_navigation.js"></script>
|
<script src="./lib/spatial_navigation.js"></script>
|
||||||
<script src="/procentric/application/lib/owl.carousel.js"></script>
|
<script src="./lib/owl.carousel.js"></script>
|
||||||
|
|
||||||
<!-- LG HCAP Library -->
|
<!-- LG HCAP Library -->
|
||||||
<script src="/procentric/application/lib/hcap.js"></script>
|
<script src="./lib/hcap.js"></script>
|
||||||
<script src="/procentric/application/lib/idcap.js"></script>
|
<script src="./lib/idcap.js"></script>
|
||||||
|
|
||||||
<!-- CENTIRM HOTELTV Library -->
|
<!-- CENTIRM HOTELTV Library -->
|
||||||
<script src="/procentric/application/lib/hoteltv.js"></script>
|
<script src="./lib/hoteltv.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.ui_utils.js"></script>
|
<script src="./lib/hoteltv.ui_utils.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.ui_welcome.js"></script>
|
<script src="./lib/hoteltv.ui_welcome.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.hcap.js"></script>
|
<script src="./lib/hoteltv.hcap.js"></script>
|
||||||
<script src="/procentric/application/lib/hoteltv.api.js"></script>
|
<script src="./lib/hoteltv.api.js"></script>
|
||||||
|
|
||||||
<!-- MQTT Library -->
|
<!-- MQTT Library -->
|
||||||
<script src="/procentric/application/lib/mqtt.min.js"></script>
|
<script src="./lib/mqtt.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('cached', function() {
|
window.addEventListener('cached', function() {
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
window.addEventListener('load', function() {
|
window.addEventListener('load', function() {
|
||||||
console.log("loading");
|
console.log("loading");
|
||||||
HotelTV.state = JSON.parse(sessionStorage.getItem("state"));
|
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();
|
HotelTV.LoadWelCome();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<XAIT>
|
<XAIT>
|
||||||
<versionNumber>4</versionNumber>
|
<versionNumber>27</versionNumber>
|
||||||
<AbstractService>
|
<AbstractService>
|
||||||
<svcName>Pro:Centric App</svcName>
|
<svcName>Pro:Centric App</svcName>
|
||||||
<svcId>0x1204</svcId>
|
<svcId>0x1204</svcId>
|
||||||
@@ -16,10 +16,15 @@
|
|||||||
<controlCode>AUTOSTART</controlCode>
|
<controlCode>AUTOSTART</controlCode>
|
||||||
<visibility>NOT_VISIBLE_USERS</visibility>
|
<visibility>NOT_VISIBLE_USERS</visibility>
|
||||||
<priority>255</priority>
|
<priority>255</priority>
|
||||||
<version>7</version>
|
<version>27</version>
|
||||||
</applicationDescriptor>
|
</applicationDescriptor>
|
||||||
<HcapDescriptor>
|
<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>
|
</HcapDescriptor>
|
||||||
</Application>
|
</Application>
|
||||||
</ApplicationList>
|
</ApplicationList>
|
||||||
|
|||||||
32
procentric/application/xait.xml.localstorage
Executable file
32
procentric/application/xait.xml.localstorage
Executable 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>
|
||||||
27
procentric/application/xait.xml.online
Executable file
27
procentric/application/xait.xml.online
Executable 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>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<service>
|
<service>
|
||||||
<setup>
|
<setup>
|
||||||
<versionNumber>100</versionNumber>
|
<versionNumber>3</versionNumber>
|
||||||
<modelName>65UR762H0NC</modelName>
|
<modelName>65UR762H0NC</modelName>
|
||||||
<priority>NORMAL</priority>
|
<priority>NORMAL</priority>
|
||||||
<content>
|
<content>
|
||||||
@@ -12,12 +12,32 @@
|
|||||||
</content>
|
</content>
|
||||||
</setup>
|
</setup>
|
||||||
<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>
|
<modelName>49US761H0ND</modelName>
|
||||||
<priority>NORMAL</priority>
|
<priority>NORMAL</priority>
|
||||||
<content>
|
<content>
|
||||||
<type>EPK_FIRMWARE</type>
|
<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>
|
<frequency>0</frequency>
|
||||||
<programNum>0</programNum>
|
<programNum>0</programNum>
|
||||||
<cTag>0</cTag>
|
<cTag>0</cTag>
|
||||||
|
|||||||
11031
procentric/system/xxUS761H0ND_v8.00.088.txt
Executable file
11031
procentric/system/xxUS761H0ND_v8.00.088.txt
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user