Automatic monitoring and control of television operation