Skip to content

feat: add Spanish subtitle translation with OpenCode - #2005

Closed
Gxstavo-dev wants to merge 2 commits into
pystardust:masterfrom
Gxstavo-dev:feature/subtitulos-espanol
Closed

Gxstavo-dev wants to merge 2 commits into
pystardust:masterfrom
Gxstavo-dev:feature/subtitulos-espanol

Conversation

@Gxstavo-dev

@Gxstavo-dev Gxstavo-dev commented Nov 25, 2026 •

Copy link
Copy Markdown

Pull Request Template

Contributing guidelines · CI workflows

Type of change

  • Bug fix
  • Feature
  • Documentation update

Description

Adds an optional Spanish subtitle workflow using the OpenCode CLI. When OpenCode is installed, ani-cli offers Spanish playback or batch preparation for selected episodes. Translations are cached by series and episode.

Requires OpenCode to be installed and configured.

Verification

Attempted:

XDG_CACHE_HOME=/tmp/ani-cli-prueba ANI_CLI_PLAYER=debug ./ani-cli evangelion

ani-cli found the episode source, but subtitle translation failed for episode 9. Playback and translation have not been verified successfully. This pull request is a draft.

Checklist

  • any anime playing
  • bumped version

  • next, prev, replay and select work
  • -c history and continue work
  • -d downloads work
  • -e (select episode) aka -r (range selection) works
  • -S select index works
  • -q quality works
  • -s syncplay works
  • -v vlc works
  • --dub and regular (sub) mode both work
  • --nextep-countdown countdown to next ep works

  • -h help info is up to date
  • Readme is up to date
  • Man page is up to date

Additional Testcases

  • --skip ani-skip works
  • --no-detach no detach works
  • --exit-after-play auto exit after playing works

@Gxstavo-dev Gxstavo-dev changed the title Add Spanish subtitle translation with OpenCode add Spanish subtitle translation with OpenCode Nov 25, 2026
@Gxstavo-dev Gxstavo-dev changed the title add Spanish subtitle translation with OpenCode feat: add Spanish subtitle translation with OpenCode Nov 25, 2026

@port19x port19x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No, but cool patch I guess

@port19x

port19x commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

v5.2 is a different provider so this would immediately break, but before you go off we wouldn't merge it for v5.2 either.
This is about making sure we don't introduce features / scope we can't maintain long-term

@port19x port19x closed this Nov 25, 2026
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