DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.64k stars 178 forks source link

Hotkey doesn't work on Windows #2806

Open s1nka opened 2 years ago

s1nka commented 2 years ago

Steps to reproduce the problem

Clear setup. Setup any global hotkeys. For example "Main -> Playback -> Volume Up". Press Apply(after restart player hotkeys is saved normal)

What's going on? Describe the problem in as much detail as possible.

Global hotkeys doesn't work, then program in tray or in program window.

Information about the software:

Deadbeef version: 1.9.1 OS: Windows 10 Pro 21H2 build 19044.1706

ribit-wibit commented 1 year ago

This might be a bit old but I did find a temporary workaround.

The ControlSend function through AutoHotKey works with DeaDBeeF on Windows.

Here is the script I used from my bindings:

SetTitleMatchMode 1

!'::
SetTitleMatchMode 1

!'::ControlSend "c",, "DeaDBeeF"

![::ControlSend "z",, "DeaDBeeF"

!]::ControlSend "b",, "DeaDBeeF"
riidom commented 2 months ago

Also doesn't work on linux (kubuntu 22.04)

Edit: similar workaround applies, create via Plasma system settings a trigger on your custom shortcut, which sends a "c" to deadbeef for "toggle pause".