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>
14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
// Browser tab names: native messaging (host side), the published files and
|
|
// MPRIS titles (mixer side). Native only. See tabs_stub.c.
|
|
import {
|
|
"geordi/moonmix/model",
|
|
"moonbitlang/core/encoding/utf8",
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
options(
|
|
"native-stub": [ "tabs_stub.c" ],
|
|
link: { "native": { "stub-cc": "tools/pkg-cc" } },
|
|
)
|