Skip to content
This repository
Browse code

[fix] upnp: parentID of the root container should be -1, fixes #14279

  • Loading branch information...
commit 804898f2e00a5acbb53d0ee8fdfb3281bf27c330 1 parent f1016fc
Alasdair Campbell authored April 18, 2013

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  xbmc/network/upnp/UPnPServer.cpp
1  xbmc/network/upnp/UPnPServer.cpp
@@ -501,6 +501,7 @@ CUPnPServer::OnBrowseMetadata(PLT_ActionReference&          action,
501 501
             item->SetLabel("Root");
502 502
             item->SetLabelPreformated(true);
503 503
             object = Build(item, true, context, thumb_loader);
  504
+            object->m_ParentID = "-1";
504 505
         } else {
505 506
             return NPT_FAILURE;
506 507
         }

0 notes on commit 804898f

Please sign in to comment.
Something went wrong with that request. Please try again.