You are not logged in.

#1 2007-02-25 18:01:20

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Lirc: Looking for a way to map the same button to two apps

I have two apps on my PC that I would like to control: One is Mplayer, and one is Amarok. Now, I'd like a way to use (for example) the same buttons for volume, play/pause and skip/rew in both apps, but I have no idea how to do this, short of writing two lirc.confs, writing a script to swap them out and launching the script via irexec.
Can anyone think of a simpler way to do this or do I need to do it the hard way?
Ideally, I'd like it to be hierarchical: if mplayer is running, it gets the command. Otherwise, Amarok gets it (since it's always running anyways).


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

Board footer

Powered by FluxBB