aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-03-20 14:16:42 -0400
committerLuke <luke.pulverenti@gmail.com>2016-03-20 14:16:42 -0400
commit3bd850200b82b3c54582589ba002fba2a7a1a0ab (patch)
treeeebb5cc35471679690c53df50f90d66f844f5dda /MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
parent2f133e2b751263fdf323afcb7ecd5f8bbb561d1f (diff)
parente95bea8954a4a96f9274b5b8f0f5b6f6de02a366 (diff)
Merge pull request #1566 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
index 5adddd38a..2755a476c 100644
--- a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
+++ b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs
@@ -106,13 +106,13 @@ namespace MediaBrowser.Server.Implementations.Intros
if (trailerTypes.Count > 0)
{
- var trailerResult = _libraryManager.GetItems(new InternalItemsQuery
+ var trailerResult = _libraryManager.GetItemList(new InternalItemsQuery
{
IncludeItemTypes = new[] { typeof(Trailer).Name },
TrailerTypes = trailerTypes.ToArray()
});
- candidates.AddRange(trailerResult.Items.Select(i => new ItemWithTrailer
+ candidates.AddRange(trailerResult.Select(i => new ItemWithTrailer
{
Item = i,
Type = i.SourceType == SourceType.Channel ? ItemWithTrailerType.ChannelTrailer : ItemWithTrailerType.ItemWithTrailer,