Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: add Discord meeting detection profile

Louis Beaumont1e789698a375
diff --git a/crates/screenpipe-engine/src/meeting_detector.rs b/crates/screenpipe-engine/src/meeting_detector.rs
index 68bfacfe1..b873df566 100644
--- a/crates/screenpipe-engine/src/meeting_detector.rs
+++ b/crates/screenpipe-engine/src/meeting_detector.rs
@@ -243,6 +243,40 @@ pub fn load_detection_profiles() -> Vec<MeetingDetectionProfile> {
],
min_signals_required: 1,
},
+ // Discord (native + browser)
+ // Native macOS: Electron exposes 0 windows but menu bar has "Mute"/"Deafen"
+ // items ONLY when in a voice channel — these are reliable call signals.
+ // Browser: standard AX tree with "Voice Connected" and "Disconnect" buttons.
+ // Windows: full Electron AX tree works via UIA.
+ MeetingDetectionProfile {
+ app_identifiers: AppIdentifiers {
+ macos_app_names: &["discord"],
+ windows_process_names: &["discord.exe"],
+ browser_url_patterns: &["discord.com", "discordapp.com"],
+ },
+ call_signals: vec![
+ // macOS native: menu items only present during voice channel
+ CallSignal::MenuBarItem {
+ title_contains: "Deafen",
+ },
+ CallSignal::MenuBarItem {
+ title_contains: "Mute",
+ },
+ // Browser: "Voice Connected" bar and disconnect button
+ CallSignal::NameContains("Voice Connected"),
+ CallSignal::RoleWithName {
+ role: "AXButton",
+ name_contains: "disconnect",
+ },
+ // Windows native: buttons in Electron AX tree
+ CallSignal::RoleWithName {
+ role: "AXButton",
+ name_contains: "Disconnect",
+ },
+ CallSignal::NameContains("Disconnect"),
+ ],
+ min_signals_required: 1,
+ },
// Generic fallback — catches apps like Skype, Around, Whereby, etc.
MeetingDetectionProfile {
app_identifiers: AppIdentifiers {