[mythtv-commits] Ticket #9001: UPNP was using fully qualified domain names to devices that couldn'tt resolve them

MythTV mythtv at cvs.mythtv.org
Sat Sep 25 05:46:51 UTC 2010


#9001: UPNP was using fully qualified domain names to devices that couldn'tt
resolve them
------------------------------+---------------------------------------------
 Reporter:  satz@…            |            Type:  defect          
   Status:  new               |        Priority:  minor           
Milestone:  unknown           |       Component:  MythTV - General
  Version:  0.23.1            |        Severity:  medium          
 Keywords:  UPNP              |   Ticket locked:  0               
------------------------------+---------------------------------------------
 I changed my server name in the mythtv-setup from an IP address to a host
 name while playing with multiple back-ends. This broke the ability to play
 via UPNP on some (WD TV Live Plus) players. The backend is using the FQDN
 instead of the IP address in the UPNP which the player cannot resolve.

 The solution is to turn all host names into IP addresses. I have included
 a patch as a proof of concept which allows my WD device to begin to play
 again.

 The patch is still deficient in the following areas:
 1) It is possible the DNS resolver will not return any addresses. This
 isn't always handed.
 2) The backend music UPNP handler doesn't cache the back end's IP address
 like the Video and TV handling. This will hammer the network with resolver
 requests for every song and will ultimately cause a crash due to the above
 case of not checking the return.

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


More information about the mythtv-commits mailing list