From f21cd2a394754f09ce6b63e7e23600f6af05476a Mon Sep 17 00:00:00 2001 From: Fredrik Zetterlund Date: Sun, 31 Aug 2014 19:10:31 +0200 Subject: [PATCH] Fix DLNA browsing not working on several items --- MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs b/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs index 7a374aff3e..3d08159d60 100644 --- a/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs +++ b/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs @@ -241,7 +241,7 @@ namespace MediaBrowser.Dlna.ContentDirectory { new KeyValuePair("Result", resXML), new KeyValuePair("NumberReturned", provided.ToString(_usCulture)), - new KeyValuePair("TotalMatches", DidlBuilder.IsIdRoot(id) ? "1" :totalCount.ToString(_usCulture)), + new KeyValuePair("TotalMatches", totalCount.ToString(_usCulture)), new KeyValuePair("UpdateID", _systemUpdateId.ToString(_usCulture)) }; }