[mythtv-commits] Ticket #4355: UPnP share path missing in GetServDesc

MythTV mythtv at cvs.mythtv.org
Sun Dec 23 21:50:15 UTC 2007


#4355: UPnP share path missing in GetServDesc
----------------------------------+-----------------------------------------
 Reporter:  otto at kolsi dot fi  |        Owner:  dblain 
     Type:  defect                |       Status:  new    
 Priority:  minor                 |    Milestone:  unknown
Component:  upnp                  |      Version:  head   
 Severity:  medium                |   Resolution:         
  Mlocked:  0                     |  
----------------------------------+-----------------------------------------

Comment(by nigel):

 It looks like something hinky with GetValue, but I cannot fathom what.
 This extra debug:
 {{{
 Index: libs/libmythupnp/upnpcmgr.cpp
 ===================================================================
 --- libs/libmythupnp/upnpcmgr.cpp       (revision 15051)
 +++ libs/libmythupnp/upnpcmgr.cpp       (working copy)
 @@ -29,9 +30,12 @@
      SetValue< QString >( "SinkProtocolInfo"    , sSinkProtocols   );

      QString sUPnpDescPath = UPnp::g_pConfig->GetValue(
 "UPnP/DescXmlPath", m_sSharePath );
 +printf("UPnpCMGR:: - sharePath='%s', descpath='%s'\n",
 +       m_sSharePath.ascii(), sUPnpDescPath.ascii());

      m_sServiceDescFileName = sUPnpDescPath + "CMGR_scpd.xml";
      m_sControlUrl          = "/CMGR_Control";
 +printf("UPnpCMGR:: - descFileName = '%s'\n",
 m_sServiceDescFileName.ascii());

      // Add our Service Definition to the device.


 }}}
 produces:
 {{{
 2007-12-24 08:43:37.328 MediaServer::Registering CMGR Service.
 UPnpCMGR:: - sharePath='/usr/share/mythtv/', descpath='(null)'
 UPnpCMGR:: - descFileName = 'CMGR_scpd.xml'
 }}}

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


More information about the mythtv-commits mailing list