[mythtv-commits] mythtv commit: r8025 - in trunk/mythtv by bjm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 23 16:51:17 EST 2005


      Author: bjm
        Date: 2005-11-23 21:51:16 +0000 (Wed, 23 Nov 2005)
New Revision: 8025
   Changeset: http://cvs.mythtv.org/trac/changeset/8025

Modified:

   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/programs/mythbackend/scheduler.cpp
   trunk/mythtv/programs/mythfilldatabase/filldata.cpp
   trunk/mythtv/programs/mythfrontend/customrecord.cpp

Log:

Optimize scheduling by pre-marking generic episodes. Listings for
TV series' sometimes have no descriptive information or a generic
description of the series as a placeholder when the the station
does not declare which episode of the series will be shown. This
adds a flag column to the program table so that mythfilldatabase can
mark these while grabbing new listings. By checking program.generic,
the scheduler can avoid some expensive string matching that was
used to search for these generic episodes.

The also fixes a problem introduced in [7937]. While it seemed a good
idea, "Check gContext->IsConnectedToMaster() before calling..." does
not return TRUE until after ConnectToMasterServer() and therefore
signalChange(-1) would never be called. Unfortunately, it is the
ConnectToMasterServer() that causes the warning/error messages :-(.
I've reverted and added a message to the user about the warnings.





More information about the mythtv-commits mailing list