From 0b3fbdba87e9ecbfaefab9f71203a1c35f1a8b00 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Jan 2014 11:19:17 +0100 Subject: neighbor/upnp: UPnP media server discovery --- src/lib/upnp/ContentDirectoryService.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib') diff --git a/src/lib/upnp/ContentDirectoryService.hxx b/src/lib/upnp/ContentDirectoryService.hxx index 3c4497be1..0b03df2e7 100644 --- a/src/lib/upnp/ContentDirectoryService.hxx +++ b/src/lib/upnp/ContentDirectoryService.hxx @@ -121,6 +121,11 @@ public: std::list &result, Error &error) const; + gcc_pure + std::string GetURI() const { + return "upnp://" + m_deviceId + "/" + m_serviceType; + } + /** Retrieve the "friendly name" for this server, useful for display. */ const char *getFriendlyName() const { return m_friendlyName.c_str(); -- cgit v1.2.3