Merge pull request #908 from 7illusions/master

Fix DLNA browsing not working on several items
This commit is contained in:
Luke 2014-08-31 13:14:04 -04:00
commit 250c12d303

View File

@ -241,7 +241,7 @@ namespace MediaBrowser.Dlna.ContentDirectory
{
new KeyValuePair<string,string>("Result", resXML),
new KeyValuePair<string,string>("NumberReturned", provided.ToString(_usCulture)),
new KeyValuePair<string,string>("TotalMatches", DidlBuilder.IsIdRoot(id) ? "1" :totalCount.ToString(_usCulture)),
new KeyValuePair<string,string>("TotalMatches", totalCount.ToString(_usCulture)),
new KeyValuePair<string,string>("UpdateID", _systemUpdateId.ToString(_usCulture))
};
}