Skip to content

P4-B: Wire CLI subtitle (download + Whisper) - #19

Merged
cursor[bot] merged 1 commit into
0.5.0from
cursor/p4b-cli-subtitle-df32
Nov 22, 2026
Merged

cursor[bot] merged 1 commit into
0.5.0from
cursor/p4b-cli-subtitle-df32

Conversation

@SirStig

@SirStig SirStig commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Description

Implements the CLI subtitle command (was a stub exiting 2). Download and Whisper --generate paths share the same settings merge as the Subtitles tab.

Rebased onto latest 0.5.0 including #15 (1bddec6 CLI encode). Kept both encode and subtitle wired; resolved cli.py / CHANGELOG / README / CLAUDE conflicts.

Type of Change

  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Code refactoring

Changes Made

  • Moved subtitle_core_from_settings / added build_subtitle_settings_dict to utils/settings_manager.py (Qt-free; reusable by CLI + GUI)
  • Wired cli.py subtitle for download and --generate / --model / --language / --provider
  • Added tests/test_cli_subtitle.py; updated README, CHANGELOG, CLAUDE.md

Testing

Checklist

  • Updated documentation (README / CHANGELOG / CLAUDE)
  • All existing tests pass locally for this slice
Open in Web Open in Cursor 

@cursor
cursor Bot force-pushed the cursor/p4b-cli-subtitle-df32 branch 3 times, most recently from c6e9180 to e33f89b Compare November 22, 2026 19:54
Move subtitle_core_from_settings out of Qt workers so cli.py can reuse the
same language/model/provider merge as the Subtitles tab. Implement download
and --generate paths, document the command, and cover wiring with unit tests.

Co-authored-by: Joshua Kac <joshua@ironcoffee.com>
@cursor
cursor Bot force-pushed the cursor/p4b-cli-subtitle-df32 branch from e33f89b to 3a9846e Compare November 22, 2026 19:57
@cursor
cursor Bot merged commit a72d8c5 into 0.5.0 Nov 22, 2026
16 checks passed
@cursor
cursor Bot deleted the cursor/p4b-cli-subtitle-df32 branch November 22, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants