diff --git a/README.md b/README.md index dcad986..2828d32 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # PicCap - Hyperion Sender App | Ambilight for LG WebOS TVs + +# NV12 control box added ## What's this? diff --git a/frontend/index.html b/frontend/index.html index 46ddbe2..48d3ec7 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -137,6 +137,7 @@

+

diff --git a/frontend/js/servicecalls.js b/frontend/js/servicecalls.js index 69aa87a..d1b2cde 100644 --- a/frontend/js/servicecalls.js +++ b/frontend/js/servicecalls.js @@ -229,6 +229,7 @@ function getSettings() { document.getElementById('checkSettingsAutostart').checked = result.autostart; document.getElementById('checkSettingsNoHDR').checked = result.nohdr; document.getElementById('checkSettingsNoPowerstate').checked = result.nopowerstate; + document.getElementById('checkSettingsnv12').checked = result.nv12; logIt('Loading settings done!'); document.getElementById('txtInfoState').innerHTML = 'Settings loaded'; @@ -298,6 +299,7 @@ window.serviceResetSettings = () => { vsync: true, autostart: false, + nv12: true, }; logIt(config); @@ -388,8 +390,8 @@ window.serviceSaveSettings = () => { autostart: document.getElementById('checkSettingsAutostart').checked, nohdr: document.getElementById('checkSettingsNoHDR').checked, nopowerstate: document.getElementById('checkSettingsNoPowerstate').checked, - - }; + nv12: document.getElementById('checkSettingsnv12').checked, +}; logIt(`Config: ${JSON.stringify(config)}`);