[mythtv] Mythtv & Lirc

Ronald Frazier ron at ronfrazier.net
Mon Feb 11 12:52:39 UTC 2008


On Jan 31, 2008 2:48 PM, Xavier Hervy <xavier.hervy at bluebottle.com> wrote:
> Ronald Frazier wrote:
> > I find that I manage to accomplish most of the things I need to do
> > without problem, but I've done a bit of tweaking to get it to that
> > state. For a few of the keys, I've written a perl script that monitors
> > lirc for certain remote event and then connects to mythfrontend via
> > the telnet port and issues command.
> >
> > For instance...the guide button. I tried mapping it directly to bring
> > up the program guide but ran into a problem. I couldn't figure out a
> > way for it to use the LiveTV guide while watching LiveTV, but use the
> > regular guide when not in LiveTV. What my script does is watch for the
> > key, connect to the telnet port and query the current status of
> > mythfrontend, and then issue commands to switch myth to the
> > appropriate version of the Guide.
> >
> > Also, my wife is in love with the TiVo, and I'm still having trouble
> > getting her to switch. I'm trying to make things behave as similarly
> > in myth as I can. Thats why I setup the TiVo remote to control myth.
> > I've also used my script to do a similar mapping with the TiVo button.
> > If you are not in the menu, it takes you to the main menu. If you are
> > already in the menu, it takes you to the watch recordings screen, just
> > like it does on the TiVo with the main menu/now playing screen.
> >
> > If you are interested, I can follow up with further details and
> > provide a copy of the script.
> >
> I might be interested in this script too.


Sorry for the delay. It took me a while to get the time to clean up
the script and turn in from the Frankenstein that it was into
something a little more suitable for public consumption. The script is
still a little messy...specifically, I don't have a good way to make
it work off of a config file or anything. You have to setup the
functionality by writing perl code, but I've tried to make it very
simplistic, so it shouldn't be difficult. If you have any problems,
need any advice, or have any suggestion, I'd be happy to hear from
you. You can get the script from here:

http://www.ronfrazier.net/mythtv/#IRWatch


-- 
Ron


More information about the mythtv-dev mailing list