Although I don’t use it much MythTV has a nice ‘Guide Screen’ where you can see what is coming up on TV. And the remote I use for MythTV has a guide button on it so I figured I’d set it up so when you press it the ‘Guide Screen’ comes up. There are a couple of things you need to do to set this up.
- Have your remote setup to control MythTV.
- Check/Edit the MythTV keybindings – this is where you setup how keyboard shortcuts are interpreted by MythTV.
- Edit your lircrc config file – this is where you setup what commands each button sends to MythTV.
One is outside the scope of this post so for the rest of the post I’ll just assume you have the remote setup and working.
Two is pretty easy. Just open up MythWeb -> settings -> key bindings.
After some searching I found the following two shortcuts that concern the guide, the ‘TV Frontend -> Guide’ command and the ‘Program Guide’ jump point, shown below.
After some experimentation I determined that the ‘Program Guide’ jump point works anywhere but when you exit from the guide screen you are dumped back into the MythTV Main Menu. The ‘TV Frontend -> Guide’ on the other had only works if you are watching a show/recording but it pauses it before you enter the guide and when you exit brings you back to where you left off which is nice. Now this is probably just a coincidence and may change in future MythTV versions but if you set both you actually get the best of both worlds. If watching a show/recording it pauses for you and if your in the menu somewhere it still goes to the “Guide screen”. So set both of these to the same key, I used S, and your half way there.
Step three isn’t bad but it depends on exactly how you have your remote setup. But I’ll outline the basic steps.
- Find your ‘lircrc’ file its probably in /username/.mythtv directory
- Add/modify an entry for the guide button – it should look something like this
# Guide button (EPG)
begin
remote = YourRemoteName #Optional
prog = mythtv
button = RemoteButtonName
config = S
end
And that’s it, after a quick reboot you should be able to press the guide button and have the ‘Guide Screen’ come up.
*Note – This tip has no warrenty or support. If it deletes your files or blows up your computer don’t come crying to me.