Global Hotkeys: Pressing Play a second time should Pause
On my laptop, as is common with the vast majority of modern laptops, the only only media control keys are Forward, Backwards, and Play/Pause. There is no Stop or Pause hotkey.
This makes it impossible to stop or pause media play in Audacious via Global Hotkeys by default.
It is noteworthy that the media keys on all four keyboards on my desktop right now have a "Play/Pause" key. The icon on the key isn't just a "Play" icon, it's also a "Pause" icon, as indicated by the two vertical bars. The intent that pressing this button a second time should pause playback is very clear.
A simple fix would be to cause Play to pause playback if currently already playing.
VLC already does this, as does Clemintine.
#2 Updated by Brad B about 1 month ago
Actually it's named "Pause/Resume" on my install and there was no "Play/Pause", but close enough! It functions as-expected, so thank you very much!
Given the ubiquity of media keys like this, might I suggest making this the default behavior for the AudioPlay key?
After investigating a bit, it appears my two laptops (Apple and Dell) appear to map that key to the AudioPlay function, and my desktop keyboard maps it to AudioPause, which explains why the play/pause functionality was working on my desktop but not on my laptops. Different vendors decided to map the key to two different things.