Tested against a real HyperHDR instance rather than trusting the schema further. scaleOutput (from the current schema-adjustment.json) produced no visible change and no trace in serverinfo's echoed-back adjustment state. brightness (0-100, absent from that same schema) round-tripped correctly through serverinfo and visibly dimmed real LEDs -- confirmed live, with piccap as the sole colour source and only this sink's JSON-RPC calls changing anything. A schema documents what a command accepts; it does not guarantee what a given build actually does with each field, and this is a mismatch between HyperHDR's current dev-branch schema and whatever build the target instance is actually running. Switched the sink to brightness (int 0-100) throughout: wire format, config defaults (minBrightness/maxBrightness, 20-100), status fields, and the reset sent on close. Renamed the frontend fields and mock to match. Cross-compiles clean. Bumped to 1.0.4. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "lgtv-audio-cap",
|
|
"version": "1.0.4",
|
|
"private": true,
|
|
"description": "Captures audio on an LG webOS 5/6 TV and streams it out \u2014 HyperHDR first, plus raw UDP, TCP and HTTP.",
|
|
"keywords": [
|
|
"webos",
|
|
"lgtv",
|
|
"hyperhdr",
|
|
"hyperion",
|
|
"audio",
|
|
"webosbrew"
|
|
],
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tools/build.sh",
|
|
"native": "tools/build.sh native",
|
|
"docker": "tools/docker-build.sh",
|
|
"stage": "tools/build.sh stage",
|
|
"package": "tools/build.sh package",
|
|
"deploy": "tools/build.sh install && tools/build.sh launch",
|
|
"install-tv": "tools/build.sh install",
|
|
"launch": "tools/build.sh launch",
|
|
"logs": "tools/build.sh logs",
|
|
"clean": "tools/build.sh clean",
|
|
"test": "test/run-tests.sh",
|
|
"assets": "python3 tools/make-assets.py",
|
|
"manifest": "python3 tools/make-manifest.py",
|
|
"serve": "python3 -m http.server 8000 --directory frontend"
|
|
},
|
|
"devDependencies": {
|
|
"@webosose/ares-cli": "^2.4.0",
|
|
"jsdom": "^24.0.0"
|
|
}
|
|
}
|