-
Notifications
You must be signed in to change notification settings - Fork 529
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
Add support for all Youtube Music shortcuts #106
Comments
Hey @PolarGoose, thanks for the feedback! The shortcuts plugin maps custom bindings to existing shortcuts (eg media keys or ctrl+F for search, etc) but all YTM shortcuts should be supported when the app is in the foreground - do you have an example of shortcut that does not work/did you have custom key bindings in mind? |
I thought that the shorcuts plugin allows controlling YTM while it is in a background. Isn't it the case? |
Hey @PolarGoose, the shortcuts plugins actually adds additional shortcuts in addition to the default YTM ones:
Some shortcuts might create issues if registered globally (for example, people might not want to mute/unmute YTM each time they press M) - Do you have a particular shortcut that you would like registered globally in mind? A possible solution could be to add custom global/local shortcuts entries in the advanced config, this way each user can customize shortcuts like they want! |
Exactly, I want an ability to assign custom global hotkeys for every local youtube shortcut. |
Hey @PolarGoose, support for custom shortcuts has been added in 024ed90 and will ship in the next version! In the advanced options, you can add custom local and global shortcuts with the following format: "shortcuts": {
"enabled": true,
"local": [
{
"shortcut": "CommandOrControl+X",
"action": "goToSettings"
}
],
"global": [
{
"shortcut": "CommandOrControl+Y",
"action": "maximizeMinimisePlayer"
}
]
}, Shortcut syntax in documented in the Electron doc about accelerators and possible actions are listed in registered actions. |
@th-ch, |
@th-ch |
Update: I found a way to disable specific included shortcuts with shortcuts plugin, will make a pr hopefully by the end of Sat |
Update update: it won't be needed once 964974c is merged |
Been waiting for this merge for 6months+ 🤣 |
PR #243 added a dedicated keybind changer in |
This is the new way of creating custom keybinds in config.json "shortcuts": {
"enabled": true,
"overrideMediaKeys": false,
"global": {
"previous": "Shift+PageDown",
"playPause": "Shift+Enter",
"next": "Shift+PageUp"
}
"local": {
"goToSettings": "CommandOrControl+X",
"maximizeMinimisePlayer": "CommandOrControl+Y",
}
},
|
The Shortcuts plugin doesn't support all shortcuts available in Youtube music web interface.
I have found a nice summary of all shortcuts: https://support.google.com/youtubemusic/thread/180145?hl=en
(an alternative way is to press
Shift+/
on the Youtube music web site to get the list of shortcuts).The text was updated successfully, but these errors were encountered: