Naamloos / foo_discord

Adds the ability for foobar2000 to interact with Discord rich presences.
BSD 2-Clause "Simplified" License
141 stars 9 forks source link

foobar crashes when closing the program #5

Open madmuffinz opened 6 years ago

madmuffinz commented 6 years ago

I closed it with and without the files in the components folder, and I tried closing when playing or when stopped also, but when I don't play anything with foobar booted up and close the program, there's no crash. It's only when after I have played a file that foobar crashes on closing the program. foobar only crashes when the files are installed in the crash report, "Fault Module Name: discord-rpc.dll"

other than that the component works as it should

Naamloos commented 6 years ago
  1. Are you using the latest version?
  2. What OS are you on?
  3. x64 or x86?
madmuffinz commented 6 years ago

Everything is the latest version (foobar and the component files) Windows7 x64

Naamloos commented 6 years ago

alright, try downloading discord-rpc-win.zip from the link below. There should be multiple discord-rpc.dll files hidden in there. Try a couple of em and see whether that makes any difference.

https://github.com/discordapp/discord-rpc/releases/tag/v3.3.0

madmuffinz commented 6 years ago

The discord-rpc.dll from win32-dynamic\bin works, but I came into more complications Now when I close foobar, it doesn't end the task, it just hangs and I have to terminate it in the task manager if I really want to close the program I tried closing foobar with the component installed and without it. It only hangs when the component has been activated by playing a track and sending the message to discord that I am listening to something. But if I start foobar without listening to anything and close the program, it will not hang. This happened for the discord-rpc.dll in the discord-rpc releases, and then I tried the discord-rpc.dll from your release and it started doing the same thing instead of crashing foobar!