[Feature] Add global keybinding plugin
Bug #706443 reported by
Alexander Godlewski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Listen |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
I have created a plugin to allow global keybinding for previous song, pause, play, stop, next song.
It depends on python-keybinder.
This allows you to change the key bindings and use them when the Listen window is not active, minimized, or closed to the panel.
If any changes are needed let me know, and I am uploading it here because I don't know where else to give it out.
Changed in listen: | |
importance: | Undecided → Wishlist |
milestone: | none → 0.6.6 |
status: | New → Fix Committed |
To post a comment you must log in.
Hi, I have made a new version of my global-keys plugin. This one changes it so it has the ability to hold as many bindings as we would like. I added a few more for rewind(seek backwards), fastforward(seek forwards), and toggle window(show/hide).
One day I will clean up the config window so it uses a treeview (and that would be the final step in supporting unlimited bindings because right now I think the window would just extend off your screen) but for now it's just a bunch of labels + text fields.
It's compatible with the previous version so there is no need to modify your previous keys, just update the new ones.
For anyone that wants to add a new binding, in it's simplest form it's just one line, and if a new function has to be created then it's the one line + the lambda or def up top. If you look at the code there are both examples being used so it's pretty simple to add to.