Bridge (Windows / macOS)
Controlled browser, dual volume, local speech.
The bridge is the only component that touches playback. It does not capture the screen or inject drivers; it reads state and drives the player over CDP.
Lifecycle
- Windows: scheduled task at login, dedicated Edge profile
- macOS: LaunchAgent at login, dedicated Chrome profile
- If the bridge dies, the server stays up and simply shows offline
Dual volume
System volume and page volume are separate channels. Sleep fade and loudness leveling act on page volume so the whole machine never jumps.
Local speech
Wake words use Vosk keyword models, endpointing uses silero VAD — all on-device. While listening, playback volume is ducked so the mic doesn't hear the speakers.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /status | title, URL, playback state, system volume |
| GET | /list | tabs and playable items |
| GET | /search?q= | search and collect result cards |
| POST | /play?id= | play an item |
| POST | /pause | pause or resume |
| POST | /open?bv= | open a specific video |
| GET | /volume?level= | set system volume |
Known limit
The bridge's HTTP server is single-threaded, so status reads queue behind searches and track switches. Fine day to day; next on the list.