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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Aug 6 23:35:05 UTC 2006


      Author: bjm
        Date: 2006-08-06 23:35:04 +0000 (Sun, 06 Aug 2006)
New Revision: 10689
   Changeset: http://cvs.mythtv.org/trac/changeset/10689

Modified:

   trunk/mythtv/libs/libmythtv/proglist.cpp
   trunk/mythtv/libs/libmythtv/proglist.h
   trunk/mythtv/libs/libmythtv/scheduledrecording.cpp
   trunk/mythtv/libs/libmythtv/scheduledrecording.h
   trunk/mythtv/libs/libmythtv/sr_items.cpp
   trunk/mythtv/libs/libmythtv/sr_items.h
   trunk/mythtv/programs/mythfrontend/programrecpriority.cpp

Log:

Optimize upcoming lists for existing search rules. Include upcoming
lists for both per title and per rule in the Schedule Information
section of the recording options page.


Added plRecordid in proglist to lookup showings associated with a rule
in recordmatch. Existing complex search rules used to have to run the
complex query for each proglist request. However, the match results
are already known in 'recordmatch'. By using these match lists, even
the most complex rule can return the upcoming list immediately.

Because there is now a plRecordid and lists of just the matching
showings can be useful for non-search rules such as Channel or
Weekslot, I've put "Upcoming episodes for this title" and "Upcoming
episodes for this rule" in the Schedule Information section. I also
renamed the misleading "List previous episodes" to "Previously
scheduled episodes". This is not a list of all episodes that have
appeared in the listings but is a list of entries in the oldrecorded
table that match this title or rule.





More information about the mythtv-commits mailing list