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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
style: apply rustfmt to ffmpeg utility
Louis Beaumont0c964aee0558
diff --git a/crates/screenpipe-audio/src/utils/ffmpeg.rs b/crates/screenpipe-audio/src/utils/ffmpeg.rsindex e9f3e82de..0307b5b86 100644--- a/crates/screenpipe-audio/src/utils/ffmpeg.rs+++ b/crates/screenpipe-audio/src/utils/ffmpeg.rs@@ -134,7 +134,8 @@ pub fn read_audio_from_file(path: &Path) -> Result<(Vec<f32>, u32)> {let ffmpeg_path = find_ffmpeg_path().ok_or_else(|| anyhow::anyhow!("ffmpeg not found in PATH or bundled binaries"))?;- let path_str = path.to_str()+ let path_str = path+ .to_str().ok_or_else(|| anyhow::anyhow!("path is not valid UTF-8: {}", path.display()))?;let mut command = screenpipe_core::ffmpeg_cmd(ffmpeg_path);