vlc-discord-rpc icon indicating copy to clipboard operation
vlc-discord-rpc copied to clipboard

Failed to reach VLC. Is it open? (detached script doesn't work)

Open alicenine opened this issue 2 years ago • 5 comments

Describe the bug Script shows "Failed to reach VLC. Is it open?". I have detached version. Also, I did everything in the instructions

Your Setup:

  • OS: Mac
  • NodeJS version v16.16.0

Additional context Add any other context about the problem here.

alicenine avatar Jul 22 '22 19:07 alicenine

Screenshot 2022-07-23 at 01 43 50

alicenine avatar Jul 22 '22 19:07 alicenine

To confirm that VLC's web interface is configured correctly, open a browser and go to http://localhost:8080 while VLC is running. It should bring you to a white page with a prompt for a username and password. The username should be left blank, and the password is what you set your VLC http password to. Let me know if you can get to that page.

Pigpog avatar Jul 25 '22 17:07 Pigpog

I'm having this exact issue, and localhost:8080 DOES work. It seems as if discord/the detached script just isn't detecting my VLC window.

Deccr avatar Jul 26 '22 10:07 Deccr

I'm having this exact issue, and localhost:8080 DOES work. It seems as if discord/the detached script just isn't detecting my VLC window.

image

The error message can only happen if vlc-discord-rpc gets a "connection refused" error. This only happens if there's no server running on localhost:8080. Not sure how localhost:8080 can be accessible by a browser but also give a connection refused error.

@Deccr Are you also on Mac?

Pigpog avatar Jul 26 '22 18:07 Pigpog

Im using Windows 11. Probably something I did to mess it up.

Deccr avatar Jul 27 '22 06:07 Deccr