Skip to content

feat: add --exact flag to only match exact anime titles (#1851) - #1937

Closed
emre-tiryaki wants to merge 1 commit into
pystardust:masterfrom
emre-tiryaki:feat/exact-match-flag
Closed

emre-tiryaki wants to merge 1 commit into
pystardust:masterfrom
emre-tiryaki:feat/exact-match-flag

Conversation

@emre-tiryaki

Copy link
Copy Markdown
Contributor

Adds --exact/--exact-match style flag that filters search results to only those whose title is an exact (case-insensitive) match for the query. Useful for wrapper scripts that risk auto-selecting the wrong show when only one result comes back.

Fixes #1851

Pull Request Template

Type of change

  • Bug fix
  • Feature
  • Documentation update

Description

ramble here

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

(these don't block a merge)

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

Copy Pasta

./ani-cli -V
./ani-cli -S 1 -e 1 -d flcl
./ani-cli -S 1 -e 1 -q worst -v flcl
./ani-cli -c -s --dub

)

Adds --exact/--exact-match style flag that filters search results
to only those whose title is an exact (case-insensitive) match for
the query. Useful for wrapper scripts that risk auto-selecting the
wrong show when only one result comes back.

Fixes pystardust#1851
@port19x

port19x commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

@emre-tiryaki did you close this on accident?

@emre-tiryaki

Copy link
Copy Markdown
Contributor Author

@port19x yes i did sorry. its my first time creating a PR and i was trying to make a PR.
i made it successfully on #1938

sorry for this mistake.

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.

feat: --exact flag to only match if exact full string is found (for wrapper scripts)

2 participants