Describe the bug
PyPresence reports that it cannot find discord, but other libraries and clients have no problem connecting.
The only thing I can think of is that it tries to connect to Discord before Discord is running (based on the timing in the logs). But in that case, why is it trying to connect before the player window is needed?
To Reproduce
Steps to reproduce the behavior:
Enable Rich Presence integration
Restart
Watch some content and check the logs
Expected behavior
My discord status being updated with the content that's being played
Screenshots
N/A
Desktop (please complete the following information):
1:2022-06-29 18:29:57,183 [ ERROR] player: Could not enable Discord Rich Presence.
10: raise DiscordNotFound
11:pypresence.exceptions.DiscordNotFound: Could not find Discord installed and running on this machine.
I have tracked this down to discord simply not being open when the shim starts. Could you change the code to poll for the discord socket instead of only checking once on startup?
Describe the bug PyPresence reports that it cannot find discord, but other libraries and clients have no problem connecting.
The only thing I can think of is that it tries to connect to Discord before Discord is running (based on the timing in the logs). But in that case, why is it trying to connect before the player window is needed?
To Reproduce Steps to reproduce the behavior:
Expected behavior My discord status being updated with the content that's being played
Screenshots N/A
Desktop (please complete the following information):
Error Messages Please provide logs, as they are often needed for me to understand and quickly troubleshoot the issue. You can read instructions for how to do so here: https://github.com/iwalton3/jellyfin-mpv-shim/wiki/Sending-Logs
Full log here