mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 19:48:16 +00:00
comments
This commit is contained in:
@@ -1051,6 +1051,7 @@ namespace Emby.Dlna.ContentDirectory
|
||||
{
|
||||
Limit = query.Limit,
|
||||
StartIndex = query.StartIndex,
|
||||
// User cannot be null here as the caller has set it
|
||||
UserId = query.User!.Id
|
||||
},
|
||||
new[] { parent },
|
||||
@@ -1073,6 +1074,7 @@ namespace Emby.Dlna.ContentDirectory
|
||||
var items = _userViewManager.GetLatestItems(
|
||||
new LatestItemsQuery
|
||||
{
|
||||
// User cannot be null here as the caller has set it
|
||||
UserId = query.User!.Id,
|
||||
Limit = query.Limit ?? 50,
|
||||
IncludeItemTypes = new[] { itemType },
|
||||
|
||||
Reference in New Issue
Block a user