Raymond Norton | 13 Apr 2012 14:44

need help irexec

I have lirc and irexec working somewhat, but not the way I need.

I have tried running irexec with and without -d, but end up with this 
same problem:

Key_E on my remote launches "launch-vlc":

[#!/bin/bash
vlc --fullscreen]

(Works Fine)

Keys 1-9 launch a channel changing script:

[#!/bin/bash
change-channel-lirc.sh 2]

Often, this will all work at first, with VLC first opening and the 
channel script able to change to whatever channel. However, shortly 
after a couple channel changes the channel commands stop working. Once I 
close VLC with the remote all the channel changes start scrolling by in 
the terminal window that I launched irexec from.

I can get around this by minimizing vlc and launching a second instance 
of irexec, then the channel script works, but often, both instances of 
irexec pick up on the remote commands, so 22, might become 222, or 2222

Is there a different approach or something I can add to my scripts so I 
don't have to launch multiple instances of irexec?

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2


Gmane