aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-29 09:28:05 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-29 09:28:05 -0400
commit0bd1f36ececc04c86bbf49b1ffd07dd30a5878b1 (patch)
treead170bf705bcd7be704382b3e4e2e320f59b29c9 /MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
parenta9e079787827ba588c4f70db5fe9747aa9061639 (diff)
update db queries
Diffstat (limited to 'MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
index ec94e16db..6310b61d1 100644
--- a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
+++ b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
@@ -83,13 +83,11 @@ namespace MediaBrowser.Server.Implementations.Intros
if (config.EnableIntrosFromMoviesInLibrary)
{
- var inputItems = _libraryManager.GetItems(new InternalItemsQuery
+ var inputItems = _libraryManager.GetItems(new InternalItemsQuery(user)
{
- IncludeItemTypes = new[] { typeof(Movie).Name },
+ IncludeItemTypes = new[] { typeof(Movie).Name }
- User = user
-
- }).Items;
+ }, user, new string[]{});
var itemsWithTrailers = inputItems
.Where(i =>