ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

ani-cli on android does not open anime in mpv

Open Auxia opened this issue 3 years ago • 9 comments

Metadata (please complete the following information) Version: 4.6 OS: Android 14 Shell: bash (Using Termux) Anime: N/A - general bug

Describe the bug Anime does not open directly on mpv. Just gives the prompt of playing the episode and options to go next, previous, select, etc.

Steps To Reproduce

  1. Run ani-cli
  2. Enter anime name: Horimiya
  3. Choose 3: Horimiya (13 episodes)
  4. Choose episode 1

Expected behavior mpv should open and anime starts streaming

Screenshots (if applicable; you can just drag the image onto github)

WhatsApp Image 2023-08-18 at 16 03 37

Additional context Using termux 0.118 on Android 14 on a Pixel 6.

Auxia avatar Aug 18 '23 09:08 Auxia

interesting, I just tested right now on my Google Pixel 4a 5G running Android 13 and it works just like always. Also running Termux 0.118.

THEGOLDENPRO avatar Aug 20 '23 19:08 THEGOLDENPRO

Could it be because of the android version I am running? I am running Android 14 beta 5. I installed termux from their Github Assets and mpv from the play store.

Auxia avatar Aug 21 '23 04:08 Auxia

it could be, we need someone else with this new version of android to test it too

THEGOLDENPRO avatar Aug 24 '23 15:08 THEGOLDENPRO

@Auxia bad news, I just upgraded to Android 14 and now I'm having the same problem. mpv command is returning aborted. I think this is going to be a massive issue coming to the future.

Device: Google Pixel 4a 5G

Just updated to Android 14 as of 15 October.

THEGOLDENPRO avatar Oct 16 '23 00:10 THEGOLDENPRO

@Auxia nevermind, found a fix: https://github.com/termux/termux-app/issues/3647#issuecomment-1763563028

THEGOLDENPRO avatar Oct 16 '23 00:10 THEGOLDENPRO

Oh yeah that's perfect. Just need to run pkg install termux-am. Now it is working as it should. Thanks @THEGOLDENPRO.

Auxia avatar Oct 16 '23 08:10 Auxia

11

yrustamjon avatar Dec 26 '24 18:12 yrustamjon

Qq without reopening the issue but is there a way to force termux to use VLC instead of mpv player?

sud0xenn avatar Aug 18 '25 05:08 sud0xenn

Qq without reopening the issue but is there a way to force termux to use VLC instead of mpv player?

  • Yes, use --vlc or export ANI_CLI_PLAYER=vlc

meet-javiya0 avatar Feb 17 '26 19:02 meet-javiya0