diff --git a/HyperDRM.manifest.json b/HyperDRM.manifest.json index ae1255a..631943d 100644 --- a/HyperDRM.manifest.json +++ b/HyperDRM.manifest.json @@ -1,15 +1,15 @@ { "id": "org.webosbrew.histogramhyperion", - "version": "0.6.2", + "version": "0.6.3", "type": "web", "title": "HyperDRM", "appDescription": "Ambient lighting for webOS and Hyperion", "iconUri": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/app/icon.png", "sourceUrl": "https://gitea.adnau.de/matze19999/HyperDRM", "rootRequired": true, - "ipkUrl": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/HyperDRM_0.6.2_arm.ipk", + "ipkUrl": "https://gitea.adnau.de/matze19999/HyperDRM/raw/branch/main/HyperDRM_0.6.3_arm.ipk", "ipkHash": { - "sha256": "9de20a046176168428378346872934c1fbbee79f33f99451addd880f193892ed" + "sha256": "02f0ed2ff450573ad35807d6c75dc61840031826513c8cf2e71f7fb93332e0b1" }, - "ipkSize": 1163072 + "ipkSize": 1163846 } diff --git a/HyperDRM_0.6.2_arm.ipk b/HyperDRM_0.6.3_arm.ipk similarity index 91% rename from HyperDRM_0.6.2_arm.ipk rename to HyperDRM_0.6.3_arm.ipk index a057c47..6f97a02 100644 Binary files a/HyperDRM_0.6.2_arm.ipk and b/HyperDRM_0.6.3_arm.ipk differ diff --git a/README.md b/README.md index b25a96e..343f3b7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Only the own service is modified. No Hue, LG library, driver or firmware binarie ## Installation -The current package is [HyperDRM_0.6.2_arm.ipk](HyperDRM_0.6.2_arm.ipk). Install it using the TV's webOS/Homebrew package installation workflow. +The current package is [HyperDRM_0.6.3_arm.ipk](HyperDRM_0.6.3_arm.ipk). Install it using the TV's webOS/Homebrew package installation workflow. Elevate the installed own service through Homebrew Channel: @@ -35,7 +35,7 @@ luna-send -n 1 luna://org.webosbrew.hbchannel.service/elevateService '{"id":"org Perform elevation before first opening the app or calling its service. If the service was already started without root, elevation updates its launch permissions but does not restart the existing process: terminate only the own `histogram-service` process (verify its executable path first), then reopen the app or call start again. Closing the UI alone does not terminate the native service. -Open **HyperDRM** on the TV and select **Start**. Hyperion's JSON server must be enabled on port 19444. The existing Hyperion LED device/output configuration remains responsible for controlling the hardware. +Open **HyperDRM** on the TV and select **Start**. Use the remote arrow buttons to move between controls and OK to activate the selected control. Magic Remote pointer input is also supported. Hyperion's JSON server must be enabled on port 19444. The existing Hyperion LED device/output configuration remains responsible for controlling the hardware. The internal app/service IDs remain `org.webosbrew.histogramhyperion` and `org.webosbrew.histogramhyperion.service` so existing installations and the autostart hook remain compatible. Hyperion displays the source as **HyperDRM**. After changing the LED layout, restart the service. @@ -83,3 +83,5 @@ The logo master is `app/logo.png`, with 80 px and 130 px installation icons. ## Publishing status See [the publishing review](docs/publishing-review.md) for the requirements audit and unresolved submission conditions. This repository is not a claim that webOSbrew has approved the app. + +Remote navigation regression tests: `node tests/remote-navigation.test.js`. diff --git a/app/app.js b/app/app.js index 07f663d..01a0820 100644 --- a/app/app.js +++ b/app/app.js @@ -26,3 +26,5 @@ call('status',display);setInterval(function(){if(!pending.length)call('status',d document.getElementById('start').focus(); document.getElementById('autostart').onclick=function(){var button=this;var enabled=button.getAttribute('aria-checked')!=='true';button.disabled=true;call('autostart',function(r){button.disabled=false;if(r.returnValue===false)document.getElementById('error').textContent=r.errorText;else call('status',display);},{enabled:enabled});}; + +setupRemoteNavigation(['start','stop','refresh','autostart'].map(function(id){return document.getElementById(id);}),document,window); diff --git a/app/appinfo.json b/app/appinfo.json index 65143aa..70b7d32 100644 --- a/app/appinfo.json +++ b/app/appinfo.json @@ -1 +1 @@ -{"id": "org.webosbrew.histogramhyperion", "version": "0.6.2", "vendor": "Local development", "type": "web", "main": "index.html", "title": "HyperDRM", "icon": "icon.png", "resolution": "1920x1080", "disableBackHistoryAPI": true, "largeIcon": "large-icon.png", "appDescription": "Ambient lighting for webOS and Hyperion", "sourceUrl": "https://gitea.adnau.de/matze19999/HyperDRM"} \ No newline at end of file +{"id": "org.webosbrew.histogramhyperion", "version": "0.6.3", "vendor": "Local development", "type": "web", "main": "index.html", "title": "HyperDRM", "icon": "icon.png", "resolution": "1920x1080", "disableBackHistoryAPI": true, "largeIcon": "large-icon.png", "appDescription": "Ambient lighting for webOS and Hyperion", "sourceUrl": "https://gitea.adnau.de/matze19999/HyperDRM"} \ No newline at end of file diff --git a/app/index.html b/app/index.html index 2a87315..f9e67a3 100644 --- a/app/index.html +++ b/app/index.html @@ -1,8 +1,8 @@
HyperDRMAmbient lighting for webOS and Hyperion.
Checking service …
- -Starts the service when the TV boots. Stop ends only the current session.
+Use the arrow buttons to select a control and OK to activate it.
Starts the service when the TV boots. Stop ends only the current session.
127.0.0.1:19444 · Priority 149 · 10 updates per second
The Hyperion layout determines the number and positions of LEDs. Colors come from 16 LG histogram regions with interpolated edge colors. Restart the service after changing the LED layout.
- +