Ticket #3217: mythtv-mythxml-wo-upnp.patch
File mythtv-mythxml-wo-upnp.patch, 869 bytes (added by , 16 years ago) |
---|
-
programs/mythbackend/mediaserver.cpp
67 67 m_sSharePath = gContext->GetShareDir(); 68 68 m_pHttpServer->m_sSharePath = m_sSharePath; 69 69 70 MythXML* mythxml = new MythXML( NULL ); 71 m_pHttpServer->RegisterExtension( mythxml ); 70 72 71 73 if (sIP == "localhost" || sIP == "127.0.0.1") 72 74 { … … 126 128 127 129 VERBOSE(VB_UPNP, "MediaServer::Registering MythXML Service." ); 128 130 129 m _pHttpServer->RegisterExtension( new MythXML( pMythDevice ));131 mythxml->RegisterService( pMythDevice ); 130 132 131 133 // ------------------------------------------------------------------ 132 134 // Register any HttpServerExtensions... Only The Master Backend