From ab49506f2852eb6495e198244959eed3037d6cec Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 16 Sep 2023 21:20:16 -0600 Subject: [PATCH] Ensure float is used --- frigate/record/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 70b9159a4..f95ca01c2 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -79,7 +79,7 @@ class RecordingExporter(threading.Thread): for page in range(num_pages): page = export_recordings.paginate(page, page_size) playlist_lines.append( - f"file 'http://127.0.0.1:5000/vod/{self.camera}/start/{page[0].start_time}/end/{page[-1].end_time}/index.m3u8'" + f"file 'http://127.0.0.1:5000/vod/{self.camera}/start/{float(page[0].start_time)}/end/{float(page[-1].end_time)}/index.m3u8'" ) ffmpeg_input = "-y -protocol_whitelist pipe,file,http,tcp -f concat -safe 0 -i /dev/stdin"