Pigpog / vlc-discord-rpc

Discord rich presence for VLC media player.
MIT License
207 stars 30 forks source link

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

Open alicenine opened 2 years ago

alicenine commented 2 years ago

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:

Additional context Add any other context about the problem here.

alicenine commented 2 years ago

Screenshot 2022-07-23 at 01 43 50

Pigpog commented 2 years ago

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.

Deccr commented 2 years ago

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.

Pigpog commented 2 years ago

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?

Deccr commented 2 years ago

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