NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix preview fetch (#16741)
Nicolas Mowen844ee089d838
diff --git a/frigate/record/export.py b/frigate/record/export.pyindex f05fae6aab..0e64021b4c 100644--- a/frigate/record/export.py+++ b/frigate/record/export.py@@ -363,10 +363,13 @@ class RecordingExporter(threading.Thread):}).execute()- if self.playback_source == PlaybackSourceEnum.recordings:- ffmpeg_cmd, playlist_lines = self.get_record_export_command(video_path)- else:- ffmpeg_cmd, playlist_lines = self.get_preview_export_command(video_path)+ try:+ if self.playback_source == PlaybackSourceEnum.recordings:+ ffmpeg_cmd, playlist_lines = self.get_record_export_command(video_path)+ else:+ ffmpeg_cmd, playlist_lines = self.get_preview_export_command(video_path)+ except DoesNotExist:+ returnp = sp.run(ffmpeg_cmd,