On 19/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I've set up Mythtv on my bedroom pc. I use a AV sender to enable it to > receive cable from my livingroom STB. All works ok. It can change channel > via a blaster. > I do have one problem though. Sometimes my provider will put a message up > on the screen. In normal use you have to press 'ok' to close the message > before you can change channel. > > I'm using the remote that came with my Hauppauge PVR-150 to control > MythTV. The blaster then uses Philips RC6 commands to send to the STB > downstairs. > Is there a way I can use a button on the Hauppauge remote, that when > pressed will cause the blaster to send the Philips 'OK' command.
Sure you can. (If pressing OK when there is nothing on-screen that needs clearing, you could also hardcode it into your channel change script - make it the first item with a suitable pause). Here's how I would do it: i) Write a modified channelchange-type script hardcoding the OK button from the STB config in your lircd.conf file ii) Add irexec to your startup - I just put the script to start it in ~/.kde/Autostart ii) Add an entry to your .lircrc file that connects the button you want to use on your remote, to the script, using irexec to execute it. For example - I use the following to restart the frontend process if it crashes: # Power Button begin remote = SKY_NAVIGATOR prog = irexec button = POWER repeat = 3 config = /home/mythtv/scripts/mythrestart.sh end HTH, Nick _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
