From 97a56b8aeb645cfc0a04a278e1fc6de7bc14f781 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 9 Nov 2022 14:47:03 -0700 Subject: [PATCH] Copy ffprobe in output --- frigate/http.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frigate/http.py b/frigate/http.py index 9d7eb9166..efc0f3cbc 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -635,7 +635,7 @@ def ffprobe(camera_name): else: output += "error getting stream\n" - return output + return jsonify(output, "200") else: # user has single stream ffprobe = ffprobe_stream(config.ffmpeg.inputs[0].path) @@ -648,9 +648,7 @@ def ffprobe(camera_name): "500", ) else: - return jsonify( - {"success": True, "message": ffprobe}, "200" - ) + return jsonify(ffprobe, "200") @bp.route("/")