[mythtv-commits] Ticket #8460: Jump when deleting recording rule

MythTV mythtv at cvs.mythtv.org
Thu Aug 19 13:11:26 UTC 2010

#8460: Jump when deleting recording rule
 Reporter:  jan@…             |           Owner:  stuartm   
     Type:  defect            |          Status:  accepted  
 Priority:  minor             |       Milestone:  0.24      
Component:  MythTV - General  |         Version:  0.23-fixes
 Severity:  medium            |      Resolution:            
 Keywords:                    |   Ticket locked:  0         

Comment (by stuartm):

 Marc thanks for the patch, although it's not the preferred solution. I'll
 commit a better fix soon.

 This code needs some serious cleanup as we are triggering multiple list
 rebuilds when a rule is deleted. Plus we're living in some alternate
 reality where reschedules apparently take a couple of ms, that's the only
 reason I can explain calling CountMatches() immediately after deleting a
 rule. This screen should be monitoring scheduling events instead and
 generally should be more intelligent about when to make minimal updates vs
 expensive re-sorts, list rebuilds etc. I should have done all this when it
 was ported to mythui but I just didn't have the time to refactor/optimise
 every single screen.

Ticket URL: <http://svn.mythtv.org/trac/ticket/8460#comment:2>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list