[mythtv-users] directly switching to different components?

David Fishburn fishburn at ianywhere.com
Wed Jun 27 12:16:34 UTC 2007


...
> I have here a new remote with nice buttons labelled 
> "MyMusic", "MyDVD", MyTV", MyPictures" etc.

Yes, I have a Hauppauge remote with similar buttons.

> Is it possible to make these buttons work as one would 
> expect? So if I press "MyTV" button, I would like 
> mythfrontend to direktly switch to live-TV, no matter where I 
> actually am.
> lirc is up and running, and the more simple functions are 
> already working.

Yes, yes of course.

If you run MythWeb go to:
mythweb/settings/keys

My remote has a button called "Rec TV", for recorded shows.
I setup a jump point for that.

JumpPoints Editor
Destination 			Description 	Key bindings
TV Recording Playback				)

So, in the frontend, if I have a keyboard I can type ) and that will take me
to my recordings directly.  

Likewise I setup:
Main Menu							~


Next thing to do is tie these together with the remote.

In my /etc/lirc/lircd.conf I checked the "name" of those buttons:
RecTV    0x00007bb


Then in my ~/.mythtv/lircrc if that button "name" is pressed, I tell it to
press ")" in the frontend.
begin
    prog = mythtv
    button = RecTV
    config = )
end 


As easy as that.

So when I added more remotes to my system (since I have other multi task
remotes) I make sure in my lircd.conf file the "name" of the button is the
same as my other remotes (the code is different obviously).  That way I
don't need to change anything else and it all works.

HTH,
Dave



More information about the mythtv-users mailing list