[Bug]: media Play/Pause keybinding doesn't work on Ubuntu
Guidelines
- [X] I have encountered this bug in the latest release of FreeTube.
- [X] I have encountered this bug in the official downloads of FreeTube.
- [X] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [X] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [X] This issue contains only one bug.
Describe the bug
Triggering Play/Pause media button doesn't affect FreeTube like it does with most audio players, like Audacious or Spotify.
Expected Behavior
Triggering Play/Pause media through keyboard combination or tapping on earbud should play/stop video streaming when video is streaming on FreeTube just like it plays/stops playing track on Spotify.
Issue Labels
keyboard control not working
FreeTube Version
v0.20.0
Operating System Version
Kubuntu 22.04
Installation Method
.AppImage
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
I've tried AppImage, .deb, portable version with no success.
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
@alexanderlavrenko Does the same issue happen for other Electron apps such as Discord?
@alexanderlavrenko Does the same issue happen for other Electron apps such as Discord?
What does Discord has to do with it? It's a simple feature which is supported by most audio players on Ubuntu and other OS
Like mentioned in the message above, Discord uses Electron. This could be an issue with Electron instead of us.
Like mentioned in the message above, Discord uses Electron. This could be an issue with Electron instead of us.
What does Discord have to do with it? I don't know other audio/video player built on Electron to compare
FreeTube uses Electron. Discord uses Electron.
If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
FreeTube uses Electron. Discord uses Electron.
If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
Discord is nothing like FreeTube or any audio/video player why would it support Play/Pause media key? But since you're continuing this, I'm going to try "Nuclear Music Player" which is built on Electron and give a feedback if it works.
FreeTube uses Electron. Discord uses Electron. If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
Discord is nothing like FreeTube or any audio/video player why would it support Play/Pause media key? But since you're continuing this, I'm going to try "Nuclear Music Player" which is built on Electron and give a feedback if it works.
Okay, it didn't work with "Nuclear Music Player" so it could be Electron. Is there anything that can be done to make it work?
FreeTube uses Electron. Discord uses Electron. If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
Discord is nothing like FreeTube or any audio/video player why would it support Play/Pause media key? But since you're continuing this, I'm going to try "Nuclear Music Player" which is built on Electron and give a feedback if it works.
Because it's known that Discord uses those media keys for it's video and audio players, when someone sends a video or audio file.
https://old.reddit.com/r/discordapp/comments/s4mtpm/my_media_keys_are_getting_hijacked_by_discord/
So if it doesn't work with Discord either, we know that the problem isn't with FreeTube and that there is nothing we can do from our side about it. Either means it's a bug in Electron or with something outside of Electron (usually is for Linux specific issues, because there is no standard setup).
FreeTube uses Electron. Discord uses Electron. If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
Discord is nothing like FreeTube or any audio/video player why would it support Play/Pause media key? But since you're continuing this, I'm going to try "Nuclear Music Player" which is built on Electron and give a feedback if it works.
Because it's known that Discord uses those media keys for it's video and audio players, when someone sends a video or audio file.
https://old.reddit.com/r/discordapp/comments/s4mtpm/my_media_keys_are_getting_hijacked_by_discord/
So if it doesn't work with Discord either, we know that the problem isn't with FreeTube and that there is nothing we can do from our side about it. Either means it's a bug in Electron or with something outside of Electron (usually is for Linux specific issues, because there is no standard setup).
I'm using latest Discord 0.0.52 and no, media buttons do nothing
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Does this issue still occur in v0.21.0?
Does this issue still occur in v0.21.0?
Yes
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
FreeTube uses Electron. Discord uses Electron. If issue also occurs on Discord than its an Electron issue otherwise its an issue with FreeTube.
Discord is nothing like FreeTube or any audio/video player why would it support Play/Pause media key? But since you're continuing this, I'm going to try "Nuclear Music Player" which is built on Electron and give a feedback if it works.
Because it's known that Discord uses those media keys for it's video and audio players, when someone sends a video or audio file. https://old.reddit.com/r/discordapp/comments/s4mtpm/my_media_keys_are_getting_hijacked_by_discord/ So if it doesn't work with Discord either, we know that the problem isn't with FreeTube and that there is nothing we can do from our side about it. Either means it's a bug in Electron or with something outside of Electron (usually is for Linux specific issues, because there is no standard setup).
I'm using latest Discord 0.0.52 and no, media buttons do nothing
Closing as we unfortunately cant do about this