Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds subtitle extraction functionality using ffmpeg, integrates it into the CLI, updates relevant documentation, and includes tests.
- Implement
ExtractFromMediawithffmpegand return parsed items. - Add
extractcommand 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]
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>
Merged
Contributor
|
Issue closed via automated workflow. |
12 tasks
Contributor
|
Issue closed via automated workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ExtractFromMediausingffmpegextractcommand to CLITesting
go test ./...https://chatgpt.com/codex/tasks/task_e_68438f6160d88321afce318492d7fab9