[mythtv-commits] Ticket #1862: Pixmap issues with backends that go away

MythTV mythtv at cvs.mythtv.org
Thu May 25 13:44:01 EDT 2006


#1862: Pixmap issues with backends that go away
--------------------------------------+-------------------------------------
 Reporter:  gdragon at jetcom dt org  |       Owner:  ijr
     Type:  patch                     |      Status:  new
 Priority:  minor                     |   Milestone:     
Component:  mythtv                    |     Version:     
 Severity:  medium                    |  
--------------------------------------+-------------------------------------
 If you have slave backends that aren't always running, either broken, or
 not always attached, the pixmap generation will regenerate pixmaps all the
 time.

 Using MasterBackendOverride, the recordings really available on the master
 backend, but if the slave is not around to handle the
 QUERY_PIXMAP_LASTMODIFIED it will return bad unnecessarily.  At least in
 mythweb's case, this will kick off a QUERY_GENPIXMAP even though there is
 already a good pixmap there.

 This behavior is most noticeable when mythweb takes a long time to load
 the recorded page, as it regens the pixmaps for all [offline] slave's
 recordings, everytime.

 Attached patch will try and look locally for file info if the override is
 on.  I left the code in there to check for slaves first, so if there is a
 slave online, the slave is responsible for the check. It might be
 marginally more efficient to let the master check but I didn't bother to
 fix that.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1862>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list