mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-04 13:47:37 +02:00
Fix preview fetch (#16741)
This commit is contained in:
parent
b3c1b21f80
commit
844ee089d8
@ -363,10 +363,13 @@ class RecordingExporter(threading.Thread):
|
|||||||
}
|
}
|
||||||
).execute()
|
).execute()
|
||||||
|
|
||||||
if self.playback_source == PlaybackSourceEnum.recordings:
|
try:
|
||||||
ffmpeg_cmd, playlist_lines = self.get_record_export_command(video_path)
|
if self.playback_source == PlaybackSourceEnum.recordings:
|
||||||
else:
|
ffmpeg_cmd, playlist_lines = self.get_record_export_command(video_path)
|
||||||
ffmpeg_cmd, playlist_lines = self.get_preview_export_command(video_path)
|
else:
|
||||||
|
ffmpeg_cmd, playlist_lines = self.get_preview_export_command(video_path)
|
||||||
|
except DoesNotExist:
|
||||||
|
return
|
||||||
|
|
||||||
p = sp.run(
|
p = sp.run(
|
||||||
ffmpeg_cmd,
|
ffmpeg_cmd,
|
||||||
|
Loading…
Reference in New Issue
Block a user