From 077759da2fb44cc496dfe5c3648614a5c18a300f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 14 May 2025 15:09:18 -0600 Subject: [PATCH] Don't change duration --- frigate/api/media.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/frigate/api/media.py b/frigate/api/media.py index 9e6db0f7c..8f67aea5b 100644 --- a/frigate/api/media.py +++ b/frigate/api/media.py @@ -672,8 +672,6 @@ def vod_ts(camera_name: str, start_ts: float, end_ts: float): # adjust start offset if start_ts is after recording.start_time if start_ts > recording.start_time: clip_from = int((start_ts - recording.start_time) * 1000) - # adjust duration to account for the trimmed start - duration -= clip_from # adjust end if recording.end_time is after end_ts if recording.end_time > end_ts: