[mythtv-commits] Ticket #4883: Duplicates in UPnP backend chooser

MythTV mythtv at cvs.mythtv.org
Thu Mar 6 23:16:26 UTC 2008


#4883: Duplicates in UPnP backend chooser
---------------------+------------------------------------------------------
 Reporter:  nigel    |       Owner:  dblain 
     Type:  defect   |      Status:  new    
 Priority:  trivial  |   Milestone:  unknown
Component:  upnp     |     Version:  head   
 Severity:  low      |     Mlocked:  0      
---------------------+------------------------------------------------------
 Network has two UPnP backends, chooser showed the 149.135.128.182 one
 twice. Happens very rarely, but I finally got a -v upnp,network,file
 output:
 {{{
 2008-03-07 10:07:50.554 Putting up the UPnP backend chooser
 2008-03-07 10:07:50.746 UPnpDeviceDesc::Retrieve(
 http://149.135.128.182:6544/getDeviceDesc, 1 ) - Requesting Device
 Description.
 2008-03-07 10:07:50.747 getHttp: grabbing:
 http://149.135.128.182:6544/getDeviceDesc
 2008-03-07 10:07:50.761 HttpComms::stateChanged: connecting (2)
 2008-03-07 10:07:50.846 HttpComms::stateChanged: sending (3)
 2008-03-07 10:07:50.949 HttpComms::stateChanged: reading (4)
 2008-03-07 10:07:50.950 Got HTTP response: 200:OK
 2008-03-07 10:07:50.950 Keys: accept-ranges,connection,content-length
 ,content-type,date,server
 2008-03-07 10:07:50.950 HttpComms::stateChanged: connected (5)
 2008-03-07 10:07:50.950 done: 1419 bytes
 2008-03-07 10:07:50.961 Got 1419 bytes from url:
 'http://149.135.128.182:6544/getDeviceDesc'
 2008-03-07 10:07:50.962 <?xml version="1.0" encoding="utf-8"?>
 <root xmlns="urn:schemas-upnp-org:device-1-0">
 <specVersion>
 <major>1</major>
 <minor>0</minor>
 </specVersion>
 <URLBase>http://149.135.128.182:6544/</URLBase>
 <device>
 <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
 <friendlyName>mythtv: MythTV AV Media Server</friendlyName>
 <manufacturer>MythTV</manufacturer>
 <modelURL>http://www.mythtv.org/</modelURL>
 <modelName>MythTV AV Media Server</modelName>
 <manufacturerURL>http://www.mythtv.org/</manufacturerURL>
 <modelDescription>MythTV AV Media Server</modelDescription>
 <modelNumber>0.21.20080114-1</modelNumber>
 <serialNumber>15462M</serialNumber>
 <presentationURL>/</presentationURL>
 <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-
 org:device-1-0">DMS-1.00</dlna:X_DLNADOC>
 <UDN>uuid:d187075f-e70f-4568-be3a-76271d5ffe1c</UDN>
 <serviceList>
 <service>
 <serviceType>urn:schemas-upnp-
 org:service:ConnectionManager:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CMGR_1-0</serviceId>
 <SCPDURL>CMGR_Control/GetServDesc</SCPDURL>
 <controlURL>CMGR_Control</controlURL>
 <eventSubURL>CMGR_Event</eventSubURL>
 </service>
 <service>
 <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CDS_1-0</serviceId>
 <SCPDURL>CDS_Control/GetServDesc</SCPDURL>
 <controlURL>CDS_Control</controlURL>
 <eventSubURL>CDS_Event</eventSubURL>
 </service>
 </serviceList>
 </device>
 </root>

 2008-03-07 10:07:50.962 UPnpDeviceDesc - Constructor
 2008-03-07 10:07:50.963 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ConnectionManager:1 : urn:upnp-org:serviceId:CMGR_1-0 :
 2008-03-07 10:07:50.963 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ContentDirectory:1 : urn:upnp-org:serviceId:CDS_1-0 :
 2008-03-07 10:07:50.968 UPnpDeviceDesc::Retrieve(
 http://149.135.128.182:6544/getDeviceDesc, 1 ) - Requesting Device
 Description.
 2008-03-07 10:07:50.968 getHttp: grabbing:
 http://149.135.128.182:6544/getDeviceDesc
 2008-03-07 10:07:50.978 HttpComms::stateChanged: connecting (2)
 2008-03-07 10:07:51.051 HttpComms::stateChanged: sending (3)
 2008-03-07 10:07:51.154 HttpComms::stateChanged: reading (4)
 2008-03-07 10:07:51.154 Got HTTP response: 200:OK
 2008-03-07 10:07:51.154 Keys: accept-ranges,connection,content-length
 ,content-type,date,server
 2008-03-07 10:07:51.154 HttpComms::stateChanged: connected (5)
 2008-03-07 10:07:51.155 done: 1419 bytes
 2008-03-07 10:07:51.165 Got 1419 bytes from url:
 'http://149.135.128.182:6544/getDeviceDesc'
 2008-03-07 10:07:51.166 <?xml version="1.0" encoding="utf-8"?>
 <root xmlns="urn:schemas-upnp-org:device-1-0">
 <specVersion>
 <major>1</major>
 <minor>0</minor>
 </specVersion>
 <URLBase>http://149.135.128.182:6544/</URLBase>
 <device>
 <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
 <friendlyName>mythtv: MythTV AV Media Server</friendlyName>
 <manufacturer>MythTV</manufacturer>
 <modelURL>http://www.mythtv.org/</modelURL>
 <modelName>MythTV AV Media Server</modelName>
 <manufacturerURL>http://www.mythtv.org/</manufacturerURL>
 <modelDescription>MythTV AV Media Server</modelDescription>
 <modelNumber>0.21.20080114-1</modelNumber>
 <serialNumber>15462M</serialNumber>
 <presentationURL>/</presentationURL>
 <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-
 org:device-1-0">DMS-1.00</dlna:X_DLNADOC>
 <UDN>uuid:d187075f-e70f-4568-be3a-76271d5ffe1c</UDN>
 <serviceList>
 <service>
 <serviceType>urn:schemas-upnp-
 org:service:ConnectionManager:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CMGR_1-0</serviceId>
 <SCPDURL>CMGR_Control/GetServDesc</SCPDURL>
 <controlURL>CMGR_Control</controlURL>
 <eventSubURL>CMGR_Event</eventSubURL>
 </service>
 <service>
 <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CDS_1-0</serviceId>
 <SCPDURL>CDS_Control/GetServDesc</SCPDURL>
 <controlURL>CDS_Control</controlURL>
 <eventSubURL>CDS_Event</eventSubURL>
 </service>
 </serviceList>
 </device>
 </root>

 2008-03-07 10:07:51.166 UPnpDeviceDesc - Constructor
 2008-03-07 10:07:51.166 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ConnectionManager:1 : urn:upnp-org:serviceId:CMGR_1-0 :
 2008-03-07 10:07:51.166 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ContentDirectory:1 : urn:upnp-org:serviceId:CDS_1-0 :
 2008-03-07 10:07:51.167 UPnpDeviceDesc::Retrieve(
 http://149.135.128.77:6544/getDeviceDesc, 1 ) - Requesting Device
 Description.
 2008-03-07 10:07:51.167 getHttp: grabbing:
 http://149.135.128.77:6544/getDeviceDesc
 2008-03-07 10:07:51.178 HttpComms::stateChanged: connecting (2)
 2008-03-07 10:07:51.260 HttpComms::stateChanged: sending (3)
 2008-03-07 10:07:51.364 HttpComms::stateChanged: reading (4)
 2008-03-07 10:07:51.364 Got HTTP response: 200:OK
 2008-03-07 10:07:51.364 Keys: accept-ranges,connection,content-length
 ,content-type,date,server
 2008-03-07 10:07:51.364 HttpComms::stateChanged: connected (5)
 2008-03-07 10:07:51.364 done: 1418 bytes
 2008-03-07 10:07:51.375 Got 1418 bytes from url:
 'http://149.135.128.77:6544/getDeviceDesc'
 2008-03-07 10:07:51.375 <?xml version="1.0" encoding="utf-8"?>
 <root xmlns="urn:schemas-upnp-org:device-1-0">
 <specVersion>
 <major>1</major>
 <minor>0</minor>
 </specVersion>
 <URLBase>http://149.135.128.77:6544/</URLBase>
 <device>
 <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
 <friendlyName>viking: MythTV AV Media Server</friendlyName>
 <manufacturer>MythTV</manufacturer>
 <modelURL>http://www.mythtv.org/</modelURL>
 <modelName>MythTV AV Media Server</modelName>
 <manufacturerURL>http://www.mythtv.org/</manufacturerURL>
 <modelDescription>MythTV AV Media Server</modelDescription>
 <modelNumber>0.21.20080224-1</modelNumber>
 <serialNumber>16350M</serialNumber>
 <presentationURL>/</presentationURL>
 <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-
 org:device-1-0">DMS-1.00</dlna:X_DLNADOC>
 <UDN>uuid:2d11d9ba-f6e5-4ccc-9df7-24260a1a5dca</UDN>
 <serviceList>
 <service>
 <serviceType>urn:schemas-upnp-
 org:service:ConnectionManager:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CMGR_1-0</serviceId>
 <SCPDURL>CMGR_Control/GetServDesc</SCPDURL>
 <controlURL>CMGR_Control</controlURL>
 <eventSubURL>CMGR_Event</eventSubURL>
 </service>
 <service>
 <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:CDS_1-0</serviceId>
 <SCPDURL>CDS_Control/GetServDesc</SCPDURL>
 <controlURL>CDS_Control</controlURL>
 <eventSubURL>CDS_Event</eventSubURL>
 </service>
 </serviceList>
 </device>
 </root>

 2008-03-07 10:07:51.376 UPnpDeviceDesc - Constructor
 2008-03-07 10:07:51.376 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ConnectionManager:1 : urn:upnp-org:serviceId:CMGR_1-0 :
 2008-03-07 10:07:51.376 ProcessServiceList adding service : urn:schemas-
 upnp-org:service:ContentDirectory:1 : urn:upnp-org:serviceId:CDS_1-0 :
 }}}
 This is barely a bug (I think selecting either of the duplicates gets its
 details just fine), but it really shouldn't happen

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


More information about the mythtv-commits mailing list