[mythtv-commits] mythtv commit: r13560 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jun 3 20:02:06 UTC 2007


      Author: stuartm
        Date: 2007-06-03 20:02:03 +0000 (Sun, 03 Jun 2007)
New Revision: 13560
   Changeset: http://cvs.mythtv.org/trac/changeset/13560

Modified:

   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/tv_play.h

Log:

Add an optional idle timer to LiveTV. If we haven't received any remote/keyboard input for X minutes then we show a dialogue asking if the user is still watching. After 45 seconds without any reponse, we exit LiveTV. If the user responds, then the timer is reset.

This is a limited case feature and is designed for users in households where LiveTV is left running even though nobody is watching any more. It differs from the present sleep function because it is always on, it is reset every time a button is pushed and it checks with the user that it is ok to exit first.

There is no "visible" setting for feature as setup menus are already overcrowded. To enable it, insert a row into the settings table for "LiveTVIdleTimeout" with a value representing the number of minutes we should be idle before exiting.






More information about the mythtv-commits mailing list