Name Chrome streams after their browser tabs
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>
This commit is contained in:
1 parent
b61d504234
commit
e16cc1b2ad
31 files changed
+1830
-15
No files matched your search
@@ -0,0 +1,43 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "geordi/moonmix/tabs"
|
||||
|
||||
import {
|
||||
"geordi/moonmix/model",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn browser_pid() -> Int32
|
||||
|
||||
pub fn files() -> Array[@model.TabFile]
|
||||
|
||||
pub fn listen() -> Unit
|
||||
|
||||
pub fn media_titles() -> Map[Int32, String]
|
||||
|
||||
pub fn message() -> String
|
||||
|
||||
pub fn now_ms() -> Int64
|
||||
|
||||
pub fn on_event((Event) -> Unit) -> Unit
|
||||
|
||||
pub fn prune() -> Unit
|
||||
|
||||
pub fn publish(@model.TabFile) -> Bool
|
||||
|
||||
pub fn unpublish() -> Unit
|
||||
|
||||
pub fn watch() -> Unit
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) enum Event {
|
||||
Message
|
||||
Eof
|
||||
Files
|
||||
Media
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user