From f68a76b134416f52797ed396e66f86f97092db88 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 16 Sep 2023 11:25:09 -0600 Subject: [PATCH] Fix formatting --- frigate/record/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 6ead93011..2e5de61c5 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -62,7 +62,7 @@ class RecordingExporter(threading.Thread): if (self.end_time - self.start_time) <= MAX_PLAYLIST_SECONDS: playlist_lines = f"http://127.0.0.1:5000/vod/{self.camera}/start/{self.start_time}/end/{self.end_time}/index.m3u8" ffmpeg_input = ( - f" -y -protocol_whitelist pipe,file,http,tcp -i {playlist_lines}" + f"-y -protocol_whitelist pipe,file,http,tcp -i {playlist_lines}" ) else: playlist_lines = [] @@ -102,7 +102,7 @@ class RecordingExporter(threading.Thread): ffmpeg_cmd = ( parse_preset_hardware_acceleration_encode( self.config.ffmpeg.hwaccel_args, - TIMELAPSE_DATA_INPUT_ARGS + ffmpeg_input, + f"{TIMELAPSE_DATA_INPUT_ARGS} {ffmpeg_input}", f"{self.config.cameras[self.camera].record.export.timelapse_args} {file_name}", EncodeTypeEnum.timelapse, )