[mythtv-commits] mythtv commit: r15059 - in trunk/mythtv by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Dec 5 06:33:42 UTC 2007
Author: cpinkham
Date: 2007-12-05 06:33:42 +0000 (Wed, 05 Dec 2007)
New Revision: 15059
Changeset: http://cvs.mythtv.org/trac/changeset/15059
Modified:
trunk/mythtv/libs/libmythtv/programinfo.h
trunk/mythtv/programs/mythbackend/mainserver.cpp
trunk/mythtv/programs/mythfrontend/playbackbox.cpp
trunk/mythtv/programs/mythfrontend/playbackbox.h
Log:
Modify the backend to send out a new format of the RECORDING_LIST_CHANGE
event when a recording is deleted. The format is as follows:
RECORDING_LIST_CHANGE DELETE <chanid> <starttime>
starttime is in Qt::ISODate format.
The frontend handles this in PlaybackBox to allow the Watch Recordings screen
to dynamically update its in-memory program cache rather than having to
reload the full list of all recorded programs every time a single program
is deleted. This applies to user-initiated deletions as well as things
like the AutoExpirer since they all use the same deletion code in the backend.
This should give people a more responsive GUI when deleting programs because
the whole program list does not have to be reretrieved from the backend.
All other code that sends out RECORDING_LIST_CHANGE still uses the original
format and causes the frontend to reload the complete list. This happens
for instance when a new recording starts.
This does _NOT_ fix a current known issue with the delete popup hanging if
you try to delete a program while the scheduler's BUQ is running. A fix
for that is being discussed.
More information about the mythtv-commits
mailing list