z------------- / CPod

(UNMAINTAINED) A simple, beautiful podcast app for Windows, macOS, and Linux.
Apache License 2.0
745 stars 75 forks source link

Unable to disable global media keys #177

Open Uzukii opened 4 years ago

Uzukii commented 4 years ago

CPod version: v1.27.1

Description: I already reported this as a bug a couple months ago or so but since it hasn't been patched yet (and the last update was back in April..) I'm wondering if there's a way I can fix this myself by editing some sort of file. The issue is unchecking the box for global media keys requiring a restart and that setting not being saved upon restart. I really, really don't want CPod using global media keys. Every time I press play on my PC's remote, it starts a podcast instead of my music in Winamp. I don't know how to circumvent this other than changing what global media keys do on a system wide level.

z------------- commented 4 years ago

This has been patched in 40c15137063eb991466824440d15ff5904464cad; I haven't yet pushed out a new release that includes this patch.

Fixing this on the user end would entail locating CPod's app.asar file, unpacking it, manually editing public/app/index.html to include the changes in the linked commit, and re-packing the asar.

The alternative is to wait for a new release, which I can probably have ready within the next couple of days, or to build your own copy of CPod from master using the instructions in the readme.

Uzukii commented 4 years ago

I did that and now having CPod open disables global media keys entirely. It went from pressing play in another app starting a podcast to pressing play in another app doing nothing at all. So even with the box unchecked, CPod still hijacks my keys. :(

What's weird is it effects the multimedia keys on my Ortek remote but not my Logitech keyboard.