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

Program does not detect VLC

Open enriender011 opened this issue 6 months ago • 7 comments

Make sure you are on the latest version by running ani-cli -U

Metadata (please complete the following information) Version: 4.14.0 OS: Windows 11 25H2 Shell: Git bash Anime: any

Describe the bug I want to play the animes on VLC Media Player. I already have VLC installed via web-downloaded installer before I have installed ani-cli, but when I add the option --vlc it says "Program "vlc.exe" not found. Please install it."

Steps To Reproduce

  1. Run ani-cli -d flcl
  2. Choose 2 (fooly-cooly)
  3. Choose episode 1

Expected behavior It detects VLC , where it plays the anime on.

Screenshots (if applicable; you can just drag the image onto github. remove the following line if not needed)

Image Image

Additional context

enriender011 avatar May 20 '26 21:05 enriender011

Add VLC's path to windows PATH environment variable, then reopen the bash and try it again. Also you can use ANI_CLI_PLAYER with VLC's path if the mentioned solution is not enough.

ANI_CLI_PLAYER=/c/Program\ Files\ \(x86\)/VideoLAN/VLC/vlc.exe ./ani-cli --vlc
ANI_CLI_PLAYER=/c/Program\ Files/VideoLAN/VLC/vlc.exe ./ani-cli --vlc

AnarchyChampion avatar May 29 '26 06:05 AnarchyChampion

@AnarchyChampion what's the output of the commands "where vlc.exe" and "which vlc.exe" ?

Derisis13 avatar Jun 06 '26 11:06 Derisis13

@AnarchyChampion what's the output of the commands "where vlc.exe" and "which vlc.exe" ?

I have no issue with ani-cli --vlc. Also I made a custom docker image for my TrueNAS PC, that streams remotely to my other pc's VLC via a VLC wrapper (shell script basically). 😉

But to answer your question:

C:\Windows\system32>where vlc.exe
C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
$ which vlc.exe
/c/Program Files (x86)/VideoLAN/VLC/vlc.exe

AnarchyChampion avatar Jun 06 '26 13:06 AnarchyChampion

Oh sorry, I mixed up the two users. @enriender011 what are the outputs of the commands above?

Derisis13 avatar Jun 06 '26 16:06 Derisis13

closing, as the user in need of support hasn't replied for over a month

port19x avatar Jul 23 '26 13:07 port19x

Sorry , I completely forgot to reply. I could solve it. Thanks

enriender011 avatar Jul 23 '26 13:07 enriender011

Thanks for replying late (rather than never), that's always good to know

port19x avatar Jul 23 '26 13:07 port19x