A browser extension reports audible tabs to moonmix-tabs-host, which matches them to PipeWire streams by time and publishes the names for the mixer; streams of one tab share a row. Ambiguous streams keep the browser's name. Without the extension, a browser's only running stream shows its MPRIS title. The smoke test no longer claims real audio hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
333 B
Plaintext
17 lines
333 B
Plaintext
// Headless probe: prints what each tab shows, can apply one action.
|
|
import {
|
|
"geordi/moonmix/model",
|
|
"geordi/moonmix/tabs",
|
|
"geordi/moonmix/wp",
|
|
"moonbitlang/core/env",
|
|
"moonbitlang/core/string",
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
pkgtype(kind: "executable")
|
|
|
|
options(
|
|
link: { "native": { "cc": "tools/pkg-cc" } },
|
|
)
|