Skip to content

Conversation

@akariwill
Copy link

@akariwill akariwill commented Jan 23, 2025

Pull Request Template

Type of change

  • Bug fix
  • Feature
  • Documentation update

Description

ramble here

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 works
  • -S select index works
  • -r range selection works
  • --skip ani-skip works
  • --skip-title ani-skip title argument works
  • --no-detach no detach 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)

@akariwill akariwill requested a review from Derisis13 as a code owner January 23, 2025 09:01
*Darwin*) player_function="${ANI_CLI_PLAYER:-$(where_iina)}" ;; # mac OS
*ndroid*) player_function="${ANI_CLI_PLAYER:-android_mpv}" ;; # Android OS (termux)
*MINGW* | *WSL2*) player_function="${ANI_CLI_PLAYER:-mpv.exe}" ;; # Windows OS
*MINGW* | *WSL2*) player_function="${ANI_CLI_PLAYER:-mpv}" ;; # Windows OS
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will make WSL use the mpv installed in WSL (which is what you wanted probably), but it'll break git bash because it also matches with *MINGW*, and it won't find mpv (but does find mpv.exe)

A better solution would be to remove the *WSL2* option and let it default to mpv, or even better for you to export the env var ANI_CLI_PLAYER as mpv

@Lockl00p
Copy link
Contributor

Truly the most valuable player

@port19x
Copy link
Collaborator

port19x commented Feb 26, 2025

As @Derisis13 explained your change doesn't make full sense, I suggest you set the environment variable

@port19x port19x closed this Feb 26, 2025
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.

4 participants