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
app to handle empty string audio_chunk_id
cparish312ca59a80df591
diff --git a/screenpipe-app-tauri/components/search-chat.tsx b/screenpipe-app-tauri/components/search-chat.tsxindex 5812c5e7f..abb58ee14 100644--- a/screenpipe-app-tauri/components/search-chat.tsx+++ b/screenpipe-app-tauri/components/search-chat.tsx@@ -681,19 +681,19 @@ export function SearchChat() {</>)}{item.type === "Audio" && (- <>- <p className="mt-2">{item.content.transcription}</p>- {item.content.file_path ? (- <div className="flex justify-center mt-4">- <VideoComponent filePath={item.content.file_path} />- </div>- ) : (- <p className="text-gray-500 italic mt-2">- No file path available for this audio.- </p>- )}- </>- )}+ <>+ <p className="mt-2">{item.content.transcription}</p>+ {item.content.file_path && item.content.file_path.trim() !== "" ? (+ <div className="flex justify-center mt-4">+ <VideoComponent filePath={item.content.file_path} />+ </div>+ ) : (+ <p className="text-gray-500 italic mt-2">+ No file path available for this audio.+ </p>+ )}+ </>+ )}{item.type === "FTS" && (<><p className="mt-2">{item.content.matched_text}</p>diff --git a/screenpipe-app-tauri/lib/screenpipe.ts b/screenpipe-app-tauri/lib/screenpipe.tsindex c9dfecae7..f7789396d 100644--- a/screenpipe-app-tauri/lib/screenpipe.ts+++ b/screenpipe-app-tauri/lib/screenpipe.ts@@ -18,7 +18,7 @@ export type AudioContent = {chunk_id: number;transcription: string;timestamp: string;- file_path?: string;+ file_path: string;offset_index: number;tags: string[];device_name: string;