14 Feb
2012
14 Feb
'12
2:08 p.m.
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.