aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-20 02:46:51 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-20 02:46:51 -0400
commit4b7093e923b457f34f717f286ebb08514cfb9067 (patch)
tree9d198870978c289b9b2581638a470562b7e8c8a3 /MediaBrowser.Server.Implementations/Dto
parent9b1cad3ce05fe68b01750962b29bf5529050dd67 (diff)
get recursive items from db
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index 3ead1a8359..5fe9ee4341 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -183,7 +183,7 @@ namespace MediaBrowser.Server.Implementations.Dto
if (person != null)
{
- var items = _libraryManager.GetItems(new InternalItemsQuery(user)
+ var items = _libraryManager.GetItemList(new InternalItemsQuery(user)
{
Person = byName.Name
@@ -1655,8 +1655,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
IsFolder = false,
Recursive = true,
- IsVirtualUnaired = false,
- IsMissing = false,
+ ExcludeLocationTypes = new[] { LocationType.Virtual },
User = user
}).Result.Items;