[mythtv-commits] mythtv commit: r7303 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Sep 23 19:42:19 UTC 2005


      Author: danielk
        Date: 2005-09-23 19:42:18 +0000 (Fri, 23 Sep 2005)
New Revision: 7303
   Changeset: http://cvs.mythtv.org/trac/changeset/7303

Modified:

   trunk/mythtv/libs/libmythtv/programinfo.cpp
   trunk/mythtv/libs/libmythtv/programinfo.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/tv_rec.h

Log:

Two refactorings.

First, we replace setup_mpeg_table_monitoring(), setup_atsc_table_monitoring(),
and setup_table_monitoring() with TVRec::SetupTableMonitoring() which
combines these functions with one well documented one.

Second, we get rid of TVRec::SetChannel() which queries the database for
the channel number and input matching curRecording and then changes to
that channel. We replace it with a method in ProgramInfo GetChannel()
that returns the channel number and input for the program, and then
we use that to tune to the channel. This should make implementing #340
a little easier as it means one less dependency to curRecording.






More information about the mythtv-commits mailing list