[arch-general] Multi-audio player script-based control?

Oon-Ee Ng ngoonee.talk at gmail.com
Tue Feb 14 09:08:07 EST 2012


I use mpd for 'regular' music playing, but once in a while (like
today, V-Day) I use other players (like Exaile) for various purposes.

I currently use xbindkeys to bind various keyboard shortcuts to mpc
next, mpc prev etc. Of course, finger memory means I still press those
even though I'm currently using another music player (which results in
two different songs playing).

Anyone know of an existing script which controls the active player (so
if I press my 'next song' keyboard shortcut and VLC is active, it
receives the signal, if Exaile/amarok whatever is active, it receives
it, if nothing is active it defaults to mpd)? Thought about hacking
something up in bash but would like to check if something already
exists, first.


More information about the arch-general mailing list