[mythtv-commits] Ticket #3720: Backend can recursively send messages to itself with a socket to connected to itself

MythTV mythtv at cvs.mythtv.org
Sat Aug 11 07:10:57 UTC 2007


#3720: Backend can recursively send messages to itself with a socket to connected
to itself
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr    
     Type:  defect     |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  mythtv     |      Version:  head   
 Severity:  medium     |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by michael bishop <clever at nbnet.nb.ca>):

 ive tracked the problem down some

 when the mbe trys to generate a preview for an image on a slave backend it
 calls PreviewGenerator::GetScreenGrab

 which then calls NuppelVideoPlayer

 which marks the file as inuse using ProgramInfo::MarkAsInUse

 which uses RemoteCheckFile to check on the file status

 which uses MythContext::SendReceiveStringList to query the mbe for some
 info

 MythContext::SendReceiveStringList seems to allways open a socket to the
 master backend, even if this is the master backend

 not shure how to fix it but i think RemoteCheckFile needs to be modified
 so if its on the mbe it will just check the local data instead of
 connecting to itself and causing  the feedback

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3720#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list