From f9f29de05e318c2de4bee37eea6f19ce955a657c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 23 Jul 2015 01:26:21 -0400 Subject: [PATCH] fix SetInitialItemValues not getting called on multi-item resolution --- .../Library/Resolvers/Movies/MovieResolver.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs index a6b8c44b6..0d1e4202c 100644 --- a/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs +++ b/MediaBrowser.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs @@ -46,6 +46,24 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies List files, string collectionType, IDirectoryService directoryService) + { + var result = ResolveMultipleInternal(parent, files, collectionType, directoryService); + + if (result != null) + { + foreach (var item in result.Items) + { + SetInitialItemValues((Video)item, null); + } + } + + return result; + } + + private MultiItemResolverResult ResolveMultipleInternal(Folder parent, + List files, + string collectionType, + IDirectoryService directoryService) { if (IsInvalid(parent, collectionType, files)) {