[mythtv-users] invoke script upon keypress?

Sean Watkins sean at northrock.bm
Wed Mar 22 03:22:52 UTC 2006


Hi,

I started using MythTV a few days ago. I have gone and customized the  
lircrc in ~mythtv/.mythtv as to how I wanted it. Basically some  
buttons were setup kind of weird.

I would like to run a power down script (which sends a Power Off to  
my TV and Home Theatre System) whenever I push the power button on my  
remote.

My lircrc contains this:
...
begin
     prog = mythtv
     button = Power
    config = /local/power.sh &
end
...

But it doesn't do anything - I get this error

LircClient warning: attempt to convert '/local/power.sh &' to a key  
sequence failed. Fix your key mappings.


Ideas?

Sean





More information about the mythtv-users mailing list