fix SetInitialItemValues not getting called on multi-item resolution
This commit is contained in:
parent
7300a475d1
commit
f9f29de05e
|
@ -46,6 +46,24 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
||||||
List<FileSystemInfo> files,
|
List<FileSystemInfo> files,
|
||||||
string collectionType,
|
string collectionType,
|
||||||
IDirectoryService directoryService)
|
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))
|
if (IsInvalid(parent, collectionType, files))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user