webosbrew / hyperion-webos

hyperion.ng video grabber for webOS
MIT License
144 stars 27 forks source link

feat: HyperHDR video mode switcher #80

Closed tuxuser closed 2 years ago

tuxuser commented 2 years ago

Based on the work from @chbartsch (see: https://github.com/chbartsch/hyperion-webos/commits/unicapture_video-mode-switcher).

This implementation calls curl via popen, so the HTTP response body is available.

Additionally, before setting HDR componentstate, the ambient lighting daemon is checked via command: sysinfo - only when HyperHDR is enumerated, the HDR componentstate is sent.