What good is limiting your children's viewing to the G-rated bounty TiVo's brought them if they can just meander into an R-rated neighborhood with a click of the Live TV button?
You've carefully crafted your children's television viewing to contain only television shows you believe are wholesome and good for them. But then they go mucking about with the Live TV button and catch some gruesome action flick or racy Sex in the City episode you'd rather they not see for a couple of years—or ever, for that matter. This hack is all about disabling that dastardly Live TV button on the kids' TiVo.
Now that you've learned all about events [Hack #98], it shouldn't surprise you to know that getting to Live TV is controlled by an event passing through the event switcher. Try it out by running events.tcl [Hack #98], and press the Live TV button on your remote. You should see something like this:
/var/hack/bin/events.tcl28 00 : 6 1 1 0 245947039 -971910840 27 00 : 6 2147480992 29693532 0 0 2147481008 28 01 : 6 1 1 1 245947039 -723092840
There are two event types here: type
28 is the remote control event, and type
27 is something called
EVT_MW_STATUS. While you're running events.tcl, navigate to the TiVo Central menu, select Watch Live TV, and see what happens. You
should see a few events float by, most notably this:
27 00 : 6 0 0 2138912008 0 2147480992
You might guess that an event type
27 with a first data value of
6 is telling TiVo to display live ...