From b79aff398c811f3bee3fff579b10827146f5b724 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 26 Sep 2025 14:31:30 +0200 Subject: [PATCH] add no-video option --- bin/streaming/telecaster.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 14996df..0545dac 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -135,6 +135,7 @@ class TeleCaster(Thread): self.dry_run = args["dry_run"] self.tools = args["tools"] self.engine = args["engine"] + self.no_video = args["no_video"] self.conf = yaml.safe_load(conf_file)["telecaster"] self.stream_types = ["audio", "video"] self.deefuzzer_video_conf_file = "/tmp/telecaster_deefuzzer_webm_monitor.yml" @@ -298,7 +299,8 @@ class TeleCaster(Thread): self.engine_start() if self.tools: self.audio_tools_start() - self.video_start() + if not self.no_video: + self.video_start() self.audio_start() self.connect() @@ -311,6 +313,7 @@ def main(): parser.add_argument("-d", "--dry-run", help="dry run", action="store_true") parser.add_argument("-t", "--tools", help="start tools", action="store_true") parser.add_argument("-e", "--engine", help="start engine", action="store_true") + parser.add_argument("-nv", "--no-video", help="no video", action="store_true") args = vars(parser.parse_args()) if os.path.exists(DEFAULT_CONFIG_FILE) and not args["config"]: args['config'] = DEFAULT_CONFIG_FILE -- 2.39.5