From 4d22e172fff4d25b0bc06533a36525c6d0126a5f Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 8 Nov 2020 16:07:27 -0600 Subject: [PATCH] stop writing json file to disk --- frigate/events.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/frigate/events.py b/frigate/events.py index 29e8c396e..7d36d4cfc 100644 --- a/frigate/events.py +++ b/frigate/events.py @@ -140,18 +140,6 @@ class EventProcessor(threading.Thread): if p.returncode != 0: logger.error(p.stderr) return - - with open(f"{os.path.join(self.clips_dir, clip_name)}.json", 'w') as outfile: - json.dump({ - 'id': event_data['id'], - 'label': event_data['label'], - 'camera': camera, - 'start_time': event_data['start_time'], - 'end_time': event_data['end_time'], - 'top_score': event_data['top_score'], - 'false_positive': event_data['false_positive'], - 'zones': list(event_data['entered_zones']) - }, outfile) def run(self): while True: