From 7dcd844e16bdcac92b47c5706be0403c3d0b4bf0 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 12 Nov 2019 00:46:48 -0800 Subject: [PATCH] add logging to help debug smart cut --- common/common/segments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/common/segments.py b/common/common/segments.py index f5f0008..d1c43bb 100644 --- a/common/common/segments.py +++ b/common/common/segments.py @@ -496,6 +496,7 @@ def smart_cut_segments(segments, start, end): '-f', 'mpegts', # output as MPEGTS '-', ] + logging.info("Running smart cut with args: {}".format(" ".join(args))) concat_proc = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE,