Skip to content


Subversion checkout URL

You can clone with
Download ZIP
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...
commit 41afcb2e7b2bb853783e01c590908425a1f5b7bd 1 parent 2efc2d3
@dblain dblain authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mythtv/libs/libmythupnp/upnpdevice.cpp
3  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"
Please sign in to comment.
Something went wrong with that request. Please try again.