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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Mar 2 03:44:29 UTC 2007


      Author: bjm
        Date: 2007-03-02 03:44:28 +0000 (Fri, 02 Mar 2007)
New Revision: 12906
   Changeset: http://cvs.mythtv.org/trac/changeset/12906

Modified:

   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/libs/libmythtv/programinfo.cpp
   trunk/mythtv/programs/mythbackend/mainserver.cpp
   trunk/mythtv/programs/mythbackend/scheduler.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.cpp

Log:

Fix bogus original air dates stuffed into the recorded table.

Not all programs have original air dates. The absence of a
date does not mean that this is the first date a program has
ever been shown and a quarter of all television programs
ever produced were not all premiered on New Years Eve '70.

The hasAirDate flag will be set if the date is blank, null,
year zero, before the history of television or whatever. This
flag should always be checked before displaying or relying on
the date stored in the originalairdate. If this flag is not
set, the date is unknown and whatever garbage date exists in
the field is meaningless.





More information about the mythtv-commits mailing list