Google-play-music-desktop-player-unofficial-: Issue with media control buttons on Windows 10

Created on 21 Jul 2019  路  12Comments  路  Source: MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-

Hello. I know that very similar issues had been published before but I haven't found any working solution. I don't know if this is very specific to my case but I think it might not be.

Issue Descriptions:

Media control buttons (Play/Pause, Next, Previous) on Logitech K780 using Logitech Options software don't work as expected. If you activate _Show track information in Windows 10_ volume overlay all buttons work, the issue is that next and previous keys jump 2 tracks instead of one. If I disable _Show track information in Windows 10_ option, media keys don't work at all. I also have a Logitech MX Anywhere 2S mouse which have keys that you can configure to work as media keys and in this case, even with the option Show track information in Windows 10 disabled they work normally to play/pause and change tracks. GPMDP is getting different signals from each device but if you activate _Show track information in Windows 10_ even the mouse previous and next keys jump 2 tracks instead of one. This is all with the Playback API activated and JSON API disabled. If I left JSON enable media keys work on the mouse but no the keyboard. I don't know if there is already a solution that works with Logitech Options but I can't find it. I found a solution for Logitech SetPoint but is not applicable in this case.

Edit: I forgot to mention that I did all tests without any other app that uses media keys open. I don't understand why mouse media keys work but not the keyboards. With the same configuration. It must be an issue related to Logitech Options but I don't know what to do.

Thanks.

OS:

Windows 10 1903

GPMDP Version:

4.6.1

Most helpful comment

@1024mb, we're currently waiting on some tests to be done for the pull request that I submitted is accepted since @MarshallOfSound said he wants to test my fix further before merging. @MarshallOfSound, if there are any tests that I could help with, I'd love to look into it. It seems like enough people are experiencing the issue that I'd be more than willing to try and help speed things up if I can. In the meantime, you can download my fix from the AppVeyor build at this link.

All 12 comments

馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you include steps to reproduce it. We get a lot of duplicate issues on this repo, so please double check now that your issue has not already been solved or doesn't have an open issue already.
To help make it easier for us to investigate your issue, please follow the contributing guidelines and ensure the issue template was filled out.

MediaKeyFix.zip

I made an AHK file to somewhat fix this. It'll keep the play/pause button from doublepressing (and thus making it useless) and will make the 'previous track' button work, however due to AHK simulating the keypresses I'm unable to get the menu to appear. The skip track will still double skip, but if you see a song you want then you can go back easily.

Is there any ETA on a fix for this?

Also, if it helps for ANY reason, somehow the keys work 100% perfectly when playing Dark Souls 3. Can't get them to work properly any other way.

I have the same issue. Its very annoying... Any sign of fixing the problem?
I use the Corsair K70.

Just to add to this:

It's also not working in win8.1 or on linux (kubuntu 18.04 LTS).

I am having the same issue, I cannot use the media keys on my keyboard or my programmed macros on my mouse, without double-pressing the skip/prev/play/pause buttons.

Previously reported multiple times in #2364, #3293 and MANY other issues. At this point we're basically waiting for @Kytech to send in a pull request for the change that fixes this? I haven't looked into it in a while though...

@IndefiniteBen I've been fighting the electron build process the last couple days to allow for GPMDP to build on my local machine. Ever since GPMDP updated to Electron 3, I've had build issues that I just recently resolved. I've managed to fix the double-skipping bug, but the play/pause issue is a new one that has recently come up. I'll have to do some more digging into the play/pause issue. I'm thinking that it is also related to the issue of the media information not actually displaying in the overlay. The issue seems to have been caused in a different part of the code.

Still present with latest version. I think, iirc, that it was fixed for a couple of days but I'm not sure.

@1024mb, we're currently waiting on some tests to be done for the pull request that I submitted is accepted since @MarshallOfSound said he wants to test my fix further before merging. @MarshallOfSound, if there are any tests that I could help with, I'd love to look into it. It seems like enough people are experiencing the issue that I'd be more than willing to try and help speed things up if I can. In the meantime, you can download my fix from the AppVeyor build at this link.

@1024mb, we're currently waiting on some tests to be done for the pull request that I submitted is accepted since @MarshallOfSound said he wants to test my fix further before merging. @MarshallOfSound, if there are any tests that I could help with, I'd love to look into it. It seems like enough people are experiencing the issue that I'd be more than willing to try and help speed things up if I can. In the meantime, you can download my fix from the AppVeyor build at this link.

Thanks for your build but I got a message Youtube Music isn't optimized for this browser and that I should download Chrome.

Thanks for your build but I got a message Youtube Music isn't optimized for this browser and that I should download Chrome.

@1024mb, YouTube Music support is still more experimental, but I think it should still have basic functionality. You should be able to ignore that message and use YTMusic anyway. If not, go ahead and open another issue with as much detail as you can give. If it's an issue only with my build, I probably need to pull in the latest changes from the main project and you could open the issue on my fork of the repo instead of here on the main project.

@1024mb, we're currently waiting on some tests to be done for the pull request that I submitted is accepted since @MarshallOfSound said he wants to test my fix further before merging. @MarshallOfSound, if there are any tests that I could help with, I'd love to look into it. It seems like enough people are experiencing the issue that I'd be more than willing to try and help speed things up if I can. In the meantime, you can download my fix from the AppVeyor build at this link.

Your patched version worked and fixed the issue with me! Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EzraLopez picture EzraLopez  路  4Comments

ivko1950 picture ivko1950  路  4Comments

logictom picture logictom  路  4Comments

wilomgfx picture wilomgfx  路  3Comments

PazerOP picture PazerOP  路  4Comments