[mythtv-commits] mythtv commit: r8048 - in trunk/mythtv by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Nov 27 02:32:43 EST 2005


      Author: cpinkham
        Date: 2005-11-27 07:32:42 +0000 (Sun, 27 Nov 2005)
New Revision: 8048
   Changeset: http://cvs.mythtv.org/trac/changeset/8048

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmythtv/datadirect.cpp
   trunk/mythtv/libs/libmythtv/scheduledrecording.cpp
   trunk/mythtv/programs/mythfilldatabase/filldata.cpp

Log:

Add some more "do we need to refresh" logic to mythfilldatabase.  We now
check which channels had data for the prevous day so we can make a better
guess at how much we should have for today.  Closes #333.  In the example
given, we were refreshing because the user had 19 channels, but only had 6
with data.  The chancnt * 4 test was failing because of all the channels
that had no data.  I purposefully do not count only visible channels
because there can be cases where channels are visible but still have no data.

Also VERBOSE-ify parts of mythfilldatabase, default flags are important,general
like most other programs, but specifying "-v important,general,channel" will
give more debug information now.  You can also turn off general and get
only important info (suppresses wget, etc.).  More cerr/cout cleanup will
follow.






More information about the mythtv-commits mailing list