justinknguyen / BeatBind

A background Python Windows application for global hotkeys on Spotify.
MIT License
51 stars 7 forks source link

Play/Pause not working #20

Closed Iowerth closed 3 months ago

Iowerth commented 3 months ago

Hi. Firstly, thanks for this amazing app! I used to use Toastify a couple of years, but...

Windows 10 x64. I have noticed that the Play/Pause option does not work no matter what keybinding is set. While other options work fine. Is it a bug or specific PC issue? 1

justinknguyen commented 3 months ago

Hey, sorry you're having some trouble with it. That's definitely not supposed to happen. Can you send a screenshot of your config file beatbind-config.json? It's located in the same folder

Edit: just guessing here, but after changing your hotkey for Play/Pause, did you make sure to press Start & Close again? The new hotkey won't register until you do. Probably a QoL change I can improve later

Iowerth commented 3 months ago

2 I already changed some hotkeys. Ofc I pressed "Start & Close". All hotkeys work fine except for "Play/Pause".

justinknguyen commented 3 months ago

@Iowerth unfortunately, I'm not able to reproduce this bug, even copying your settings. However, I created a new release here to add logging to help debug this bug: https://github.com/justinknguyen/BeatBind/releases/tag/v1.8.1

Please share your log file whenever you have time, and hopefully we can find the root cause :) the log file is called beatbind.log

Also in the meantime, you can try installing a previous version to see if it works

Iowerth commented 3 months ago

v1.8.1 - I can't start program now because my browser (Firefox) gives me an error like "Unable to connect - can't establish connection with localhost:XXXXXX". Do I need to open port (Inbound Rules) in Windows Firewall? Yesterday I opened this port, but later I disabled this rule and BB worked fine. My bad, VPN was turned on. :laughing:

Play/Pause works now, thanks!

PS: please make a feature to always show BB in a system tray as I was trying to understand why I can't delete log file (to start logging from a clear point) - and found that BB was running but only visible in Task Manager.

justinknguyen commented 3 months ago

@Iowerth good to see it's working for you now!

The BeatBind process should always show in the system tray if it's running, so that sounds like a bug. When I press Quit on the system tray icon, the process is gone from my Task Manager, so I'll need to monitor this.

image image image

Iowerth commented 3 months ago

Yes, it is. But I'm about described situation - for example, when some error appear and BB not in tray (because it not fully started) but only in Task Manager.

justinknguyen commented 3 months ago

oh I see, I'll fix that in the next release, thanks for reporting it!