[vlc-commits] UPNP: Use uuid as a description for server playlist item.

Konstantin Pavlov git at videolan.org
Mon Apr 25 09:40:45 CEST 2011


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Thu Apr 21 17:39:10 2011 +0400| [a8f8da1bea8d506642657c4460f45f3efe4e0307] | committer: Konstantin Pavlov

UPNP: Use uuid as a description for server playlist item.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8f8da1bea8d506642657c4460f45f3efe4e0307
---

 modules/services_discovery/upnp.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index ced863e..05d79ae 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -968,6 +968,9 @@ bool MediaServerList::addServer( MediaServer* p_server )
 
     p_input_item = input_item_New( _p_sd, "vlc://nop",
                                   p_server->getFriendlyName() );
+
+    input_item_SetDescription( p_input_item, p_server->getUDN() );
+
     p_server->setInputItem( p_input_item );
 
     services_discovery_AddItem( _p_sd, p_input_item, NULL );



More information about the vlc-commits mailing list