Files
lgtv_audio_cap/package.json
T
Rene KievitsandClaude Opus 5 f0f68a1aa7 Tolerate space-padded pactl output, and show the running app version
The device-source parser assumed pactl list short sources is strictly
tab-separated, true for stock PulseAudio but not guaranteed for a
TV's own heavily customized audio stack (this one names sources
tpcm_output/tpmedia/tptts/... — clearly not vanilla). A different
separator would have silently produced zero parsed sources with no
error, and the picker's own `when` guard would then just hide the row
entirely rather than show anything broken. Split on any whitespace
run instead of a literal tab; source names never contain embedded
whitespace, so this is strictly more permissive with no new failure
mode. Confirmed end to end on real hardware: tptts.monitor lit up
during the accessibility voice guide and reached HyperHDR.

Also: the System panel now shows the app's actual running version,
read from a <meta> tag substituted at package time (tools/build.sh
stage()) from frontend/appinfo.json — not hand-maintained, so it can't
drift from what was actually built. Requested after a version bump
alone wasn't enough to tell whether a reinstall had truly picked up
new files versus served something cached along the way; this settles
that question by inspection instead of by inference. Bumped to 1.0.2.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 14:11:29 +02:00

36 lines
1.0 KiB
JSON

{
"name": "lgtv-audio-cap",
"version": "1.0.2",
"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"
}
}