You are not logged in.

#1 2008-09-07 20:45:16

colbert
Member
Registered: 2007-12-16
Posts: 809

Trying to make script for LIRC (mpd, mplayer etc.)

I use my desktop as a mediac pc and run mythfrontend, mplayer, Mpd/mpc, etc. I've run into the problem where if I open mythfrontend, any keypresses that are also used by mpc will be caught my mpc and for example hitting play in mplayer will hit play in mpc, etc.

I'm wondering how I can make a script or something to potentially "switch" or choose which app at a given time gets to use LIRC? Previously with Amarok I had a few buttons bound to "amarok -q" and "amarok" to start and stop the app itself so I could kill it when mplayer started and open it again at any time, but I've switched to mpd and am wondering how I can do this now.

Greatly appreciate any help, thanks smile

Offline

Board footer

Powered by FluxBB