Permalink
Browse files

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

  • Loading branch information...
alcoheca committed Apr 18, 2013
1 parent e973940 commit a8a656f1b7f951dcf77a08aa7805de4e95cfe46a
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/network/upnp/UPnPServer.cpp
@@ -505,6 +505,7 @@ CUPnPServer::OnBrowseMetadata(PLT_ActionReference& action,
item->SetLabel("Root");
item->SetLabelPreformated(true);
object = Build(item, true, context, thumb_loader);
+ object->m_ParentID = "-1";
} else {
return NPT_FAILURE;
}

0 comments on commit a8a656f

Please sign in to comment.