From 26d251a41ed75a519f484851166ce37252ad1d63 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Thu, 1 Aug 2024 19:14:21 +0100 Subject: [PATCH] Log what command is running --- app/modules/ts_transcode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/modules/ts_transcode.py b/app/modules/ts_transcode.py index 68b7435..733e7a1 100644 --- a/app/modules/ts_transcode.py +++ b/app/modules/ts_transcode.py @@ -1,4 +1,5 @@ import logging +import shlex import shutil import typing import urllib.parse @@ -148,6 +149,7 @@ class TruthSocialTranscode(niobot.Module): stderr=asyncio.subprocess.PIPE ) self.log.info("Starting transcode...") + self.log.debug("Running command: %r", shlex.join(args)) stdout, stderr = await transcode.communicate() self.log.info("Finished transcode.") if transcode.returncode != 0: