Skip to content

Commit bdedf34

Browse files
authored
Merge pull request #128 from tfink419/bugfix/xbmc4xbox-viewable-library
Fix: ChildCount When Viewing Folders in Directory (GetBrowse)
2 parents 367c875 + b23d6d2 commit bdedf34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Jellyfin.Plugin.Dlna/ContentDirectory/ControlHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ private void HandleBrowse(XmlWriter xmlWriter, IReadOnlyDictionary<string, strin
368368

369369
if (childItem.IsDisplayedAsFolder || displayStubType.HasValue)
370370
{
371-
var childCount = GetUserItems(childItem, displayStubType, _user, sortCriteria, null, 0)
371+
var childCount = GetUserItems(childItem, displayStubType, _user, sortCriteria, null, null)
372372
.TotalRecordCount;
373373

374374
_didlBuilder.WriteFolderElement(writer, childItem, displayStubType, item, childCount, filter);

0 commit comments

Comments
 (0)