-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Media key causes a play/pause loop #49
Comments
It looks like the player caught a "Key Up" action before a "Key Down" action, which is very odd. Is this consistent? It thinks you are holding down the play button which I will admit doesn't make sense. |
Its only happening with my bluetooth earbuds, my keyboard media keys work fine. But yes it happens every time, I've tried hitting the button multiple times but it doesn't stop. edit: using the media keys on my keyboard actually fix the play/pause loop from my earbuds. |
Which makes sense since the earbuds are what appear to be emitting a keyup event and then a keydown event. The problem with this is it looks like the button is being held down to the player. |
I added a config option to disable repeating of keys for bugged-out input devices. It is under "Client Settings": There is a test build in: https://github.com/jellyfin/jellyfin-media-player/actions/runs/765444199 (When the build finishes you'll be able to download the artifact for your platform that contains the installer.) |
Thanks a ton! Really appreciate your work on this player. |
Did it work? You can download a test release here: https://github.com/jellyfin/jellyfin-media-player/suites/2534819239/artifacts/54992985 |
Just tested it out, working perfect now with enableInputRepeat unchecked in the settings. |
Describe the bug
While watching a video, pressing the play/pause button once on my headphones causes it to continuously spam the play/pause button making the video stutter. This lasts until I change videos or close the player.
Desktop (please complete the following information):
Error Messages
This error continues until I close the application.
The text was updated successfully, but these errors were encountered: