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
fix: black screen when snapshot JPG missing from disk
Louis Beaumontb4a78b802e01
diff --git a/apps/screenpipe-app-tauri/components/rewind/hooks/use-frame-loading.ts b/apps/screenpipe-app-tauri/components/rewind/hooks/use-frame-loading.tsindex 029fcbb37..f96702761 100644--- a/apps/screenpipe-app-tauri/components/rewind/hooks/use-frame-loading.ts+++ b/apps/screenpipe-app-tauri/components/rewind/hooks/use-frame-loading.ts@@ -359,8 +359,12 @@ export function useFrameLoading(opts: {if (searchNavFrame) {return `http://localhost:3030/frames/${debouncedFrame.frameId}`;}+ // Snapshot failed to load from disk — need HTTP fallback regardless of video mode+ if (isSnapshotFrame && snapshotFailed) {+ return `http://localhost:3030/frames/${debouncedFrame.frameId}`;+ }if (useVideoMode) return null;- if (isSnapshotFrame && !snapshotFailed) return null;+ if (isSnapshotFrame) return null;return `http://localhost:3030/frames/${debouncedFrame.frameId}`;}, [useVideoMode, debouncedFrame, isSnapshotFrame, snapshotFailed, searchNavFrame]);@@ -393,8 +397,12 @@ export function useFrameLoading(opts: {}};img.onerror = () => {- // Preload failed — keep showing previous image+ // Preload failed — keep showing previous image if availablesetIsLoading(false);+ // For snapshot frames where both direct + HTTP failed, signal unavailable+ if (isSnapshotFrame && snapshotFailed) {+ onFrameUnavailable?.();+ }// Still clear search nav mode on error to avoid getting stuckif (searchNavFrame) {onSearchNavComplete?.();