Skip to content
Browse files

Add missing namespace to device description xml.

New vendor specific elements were added to the device description
and they used the mythtv: namespace, but the namespace was never
declared.  This caused some upnp clients not to detect mythbackend.

Added xmlns:mythtv="..." to root element to resolve issue.
  • Loading branch information
dblain committed Mar 4, 2011
1 parent 2efc2d3 commit 41afcb2e7b2bb853783e01c590908425a1f5b7bd
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/libs/libmythupnp/upnpdevice.cpp
@@ -24,6 +24,7 @@
#include "upnp.h"
#include "upnpdevice.h"
#include "httpcomms.h"
#include "mythverbose.h"

// MythDB
#include "mythdb.h"
@@ -353,7 +354,7 @@ void UPnpDeviceDesc::GetValidXML(
// os.setEncoding( QTextStream::UnicodeUTF8 );

os << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
"<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n"
"<root xmlns=\"urn:schemas-upnp-org:device-1-0\" xmlns:mythtv=\"\">\n"

0 comments on commit 41afcb2

Please sign in to comment.
You can’t perform that action at this time.