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

Bump app to v2.0.599

Louis Beaumont834adef316ba
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index da2cdb628..9744f2119 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8183,7 +8183,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.598"
+version = "2.0.599"
dependencies = [
"anyhow",
"arboard",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 6317ec770..5de402de1 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.598"
+version = "2.0.599"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-audio/src/audio_manager/reconciliation.rs b/crates/screenpipe-audio/src/audio_manager/reconciliation.rs
index 138ceeec8..8be233d5e 100644
--- a/crates/screenpipe-audio/src/audio_manager/reconciliation.rs
+++ b/crates/screenpipe-audio/src/audio_manager/reconciliation.rs
@@ -60,6 +60,10 @@ pub async fn reconcile_untranscribed(
continue;
}
+ // Extract device name and type from file path.
+ // Format: .../Device Name (output)_2026-02-27_23-15-38.mp4
+ let (device_name, is_input) = extract_device_from_path(&chunk.file_path);
+
// Decode audio from file (blocking ffmpeg call — run off the async runtime)
let path_owned = chunk.file_path.clone();
let (samples, sample_rate) = match tokio::task::spawn_blocking(move || {
@@ -100,7 +104,7 @@ pub async fn reconcile_untranscribed(
let text = match stt(
&samples,
sample_rate,
- "unknown",
+ &device_name,
engine.clone(),
deepgram_api_key.clone(),
languages.clone(),
@@ -128,8 +132,8 @@ pub async fn reconcile_untranscribed(
chunk.id,
&text,
&engine_name,
- "unknown",
- false,
+ &device_name,
+ is_input,
chunk.timestamp,
Some(duration_secs),
)
@@ -150,3 +154,24 @@ pub async fn reconcile_untranscribed(
success_count
}
+
+/// Extract device name and is_input from an audio file path.
+/// Path format: `.../Device Name (output)_2026-02-27_23-15-38.mp4`
+/// Returns (device_name, is_input).
+fn extract_device_from_path(file_path: &str) -> (String, bool) {
+ let filename = Path::new(file_path)
+ .file_stem()
+ .and_then(|s| s.to_str())
+ .unwrap_or("unknown");
+
+ // Split on first '_2' to separate device name from timestamp
+ // e.g. "Display 3 (output)_2026-02-27_23-15-38" → "Display 3 (output)"
+ let device_part = if let Some(idx) = filename.find("_2") {
+ &filename[..idx]
+ } else {
+ filename
+ };
+
+ let is_input = device_part.contains("(input)");
+ (device_part.to_string(), is_input)
+}