Merge pull request #2304 from pR0Ps/master
Fix pagination for DLNA root folder list
This commit is contained in:
commit
2f8f064a23
|
@ -32,6 +32,7 @@
|
|||
- [nevado](https://github.com/nevado)
|
||||
- [mark-monteiro](https://github.com/mark-monteiro)
|
||||
- [ullmie02](https://github.com/ullmie02)
|
||||
- [pR0Ps](https://github.com/pR0Ps)
|
||||
|
||||
# Emby Contributors
|
||||
|
||||
|
|
|
@ -771,11 +771,11 @@ namespace Emby.Dlna.ContentDirectory
|
|||
})
|
||||
.ToArray();
|
||||
|
||||
return new QueryResult<ServerItem>
|
||||
return ApplyPaging(new QueryResult<ServerItem>
|
||||
{
|
||||
Items = folders,
|
||||
TotalRecordCount = folders.Length
|
||||
};
|
||||
}, startIndex, limit);
|
||||
}
|
||||
|
||||
private QueryResult<ServerItem> GetTvFolders(BaseItem item, User user, StubType? stubType, SortCriteria sort, int? startIndex, int? limit)
|
||||
|
|
Loading…
Reference in New Issue
Block a user