Skip to content

Conversation

@S-andres0694
Copy link

@S-andres0694 S-andres0694 commented Jul 17, 2025

Fixes issue #1549

Type of change

  • Bug fix
  • Feature
  • Documentation update

Description

I was running into issues when using ani-cli to binge chapter after chapter. I've noticed that unless you close the player instance, the CLI hangs and it is not able to continue with the next chapter. The purpose of this contribution is to allow for users to do what I mentioned previously by opening each new playback on a separate window using the IINA-cli --separate-windows flag.

Checklist

  • any anime playing
  • bumped version

  • next, prev and replay work
  • -c history and continue work
  • -d downloads work
  • -s syncplay works
  • -q quality works
  • -v vlc works
  • -e (select episode) aka -r (range selection) works
  • -S select index works
  • --skip ani-skip works
  • --skip-title ani-skip title argument works
  • --no-detach no detach works
  • --exit-after-play auto exit after playing works
  • --nextep-countdown countdown to next ep works
  • --dub and regular (sub) mode both work
  • all providers return links (not necessarily on a single anime, use debug mode to confirm)

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

Additional Testcases

  • The safe bet: One Piece
  • Episode 0: Saenai Heroine no Sodatekata ♭
  • Unicode: Saenai Heroine no Sodatekata ♭
  • Non-whole episodes: Tensei shitara slime datta ken (ep. 24.5, ep. 24.9)
  • All Providers: Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e (TV) (3 m3u8, 3 mp4, 1 fast4speed, 1 sharepoint)
  • The examples of the help text

@S-andres0694 S-andres0694 requested a review from Derisis13 as a code owner July 17, 2025 11:07
@port19x
Copy link
Collaborator

port19x commented Jul 31, 2025

This PR competes with #1552 to solve the same issue.
I'll test both implementations but by default yours is preferred since it is a much smaller change.

Please bump the version though

@port19x
Copy link
Collaborator

port19x commented Jul 31, 2025

Nope, this definitely does not work.
This opens all the episodes in parallel, which is definitely more annoying than having to quit the player after each episode is finished.
I'm closing this in favor of #1552

@port19x port19x closed this Jul 31, 2025
@port19x
Copy link
Collaborator

port19x commented Jul 31, 2025

To clarify, it opens all the episodes in parallel using the -e "1 -1" flag to watch the full anime consecutively.
The other PR does not have this issue

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