[mythtv-commits] mythtv commit: r7814 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 9 14:51:53 EST 2005


      Author: cpinkham
        Date: 2005-11-09 19:51:53 +0000 (Wed, 09 Nov 2005)
New Revision: 7814
   Changeset: http://cvs.mythtv.org/trac/changeset/7814

Modified:

   trunk/mythtv/programs/mythfrontend/playbackbox.cpp

Log:

Check to see when we last ran PlaybackBox::FillList() so we don't call it
excessively.  FillList() is called explicitly in several places on the Watch
Recordings screen and everytime a RECORDING_LIST_CHANGE event is recieved.
Since RECORDING_LIST_CHANGE events are sent from multiple places like
the scheduler, mythcommflag, NuppelVideoPlayer (via ProgramInfo::MarkAsInUse),
the recorder, and possibly others, this patch will make it so that we don't
try to update the list more than once a second.  There are several cases
where multiple FillList() calls have been occuring within the same second
such as when we have multiple recordings that end at the same time, and
when with the new inuseprograms table when we finish watching a recording.
If you got this far, my comment is now longer than the patch so I'll stop.






More information about the mythtv-commits mailing list