fix SetInitialItemValues not getting called on multi-item resolution

This commit is contained in:
Luke Pulverenti 2015-07-23 01:26:21 -04:00
parent 7300a475d1
commit f9f29de05e

View File

@ -46,6 +46,24 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
List<FileSystemInfo> 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<FileSystemInfo> files,
string collectionType,
IDirectoryService directoryService)
{
if (IsInvalid(parent, collectionType, files))
{