Skip to content

Open-source AI podcast clipper. Generate vertical clips with face tracking and burned-in captions. CLI, MCP server, web app.

Add --thumbnails / --no-thumbnails flags to `podcli process` (#38)

Nika Siradzefbc0348bcb12
diff --git a/backend/cli.py b/backend/cli.py
index 8101da5..760e886 100644
--- a/backend/cli.py
+++ b/backend/cli.py
@@ -440,6 +440,8 @@ def cmd_process(args):
config["caption_style"] = args.caption_style
if args.crop:
config["crop_strategy"] = args.crop
+ if getattr(args, "thumbnails", None) is not None:
+ config["generate_thumbnails"] = args.thumbnails
if args.top:
config["top_clips"] = args.top
if getattr(args, "review_each", False):
@@ -3301,6 +3303,8 @@ def main():
proc.add_argument("-p", "--preset", help="Load a saved preset")
proc.add_argument("--engine", choices=["whisper-py", "whispercpp"], help="Transcription engine (default: whisper-py; whispercpp is the native, PyTorch-free path)")
proc.add_argument("--fast", action="store_true", help="Draft mode: tiny Whisper, heuristic selection, center crop, low quality")
+ proc.add_argument("--thumbnails", dest="thumbnails", action="store_true", default=None, help="Force thumbnail generation on")
+ proc.add_argument("--no-thumbnails", dest="thumbnails", action="store_false", help="Skip thumbnail generation")
proc.add_argument("--caption-style", choices=["branded", "hormozi", "karaoke", "subtle"])
proc.add_argument("--crop", choices=["center", "face", "speaker", "speaker-hardcut"])
proc.add_argument("--logo", help="Logo image (asset name or path)")