Skip to content

Implement subtitle extraction and command#6

Merged
jdfalk merged 4 commits intomainfrom
codex/review-project-documentation-and-implement-features
Jun 7, 2025
Merged

Implement subtitle extraction and command#6
jdfalk merged 4 commits intomainfrom
codex/review-project-documentation-and-implement-features

Conversation

@jdfalk
Copy link
Copy Markdown
Owner

@jdfalk jdfalk commented Jun 7, 2025

Summary

  • implement ExtractFromMedia using ffmpeg
  • add extract command to CLI
  • document extraction command and feature
  • update changelog and todo
  • test subtitle extraction

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_e_68438f6160d88321afce318492d7fab9

@jdfalk jdfalk added the codex Created or modified by AI/automation agents label Jun 7, 2025 — with ChatGPT Codex Connector
@jdfalk jdfalk requested a review from Copilot June 7, 2025 01:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds subtitle extraction functionality using ffmpeg, integrates it into the CLI, updates relevant documentation, and includes tests.

  • Implement ExtractFromMedia with ffmpeg and return parsed items.
  • Add extract command to the Cobra-based CLI.
  • Update README, TODO, and CHANGELOG; add a test for extraction.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pkg/subtitles/extract.go Implemented ExtractFromMedia with ffmpeg call
pkg/subtitles/extract_test.go Added test for subtitle extraction
cmd/extract.go Introduced extract CLI command
README.md Documented extract feature and CLI usage
TODO.md Marked extraction task as implemented
CHANGELOG.md Added 0.1.3 release notes for extraction feature
Comments suppressed due to low confidence (1)

README.md:31

  • This usage line is missing the leading hyphen and proper indentation. Prefix with "- " to match other command bullet points.
subtitle-manager extract [media] [output]

Comment thread pkg/subtitles/extract.go Outdated
Comment thread pkg/subtitles/extract.go Outdated
Comment thread cmd/extract.go Outdated
jdfalk and others added 3 commits June 6, 2025 21:12
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jdfalk jdfalk merged commit d722905 into main Jun 7, 2025
@jdfalk jdfalk deleted the codex/review-project-documentation-and-implement-features branch June 7, 2025 01:12
@jdfalk jdfalk mentioned this pull request Jun 12, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Issue closed via automated workflow.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 3, 2025

Issue closed via automated workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Created or modified by AI/automation agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants