mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
rework channel checking
This commit is contained in:
@@ -124,7 +124,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
protected override Task ValidateChildrenInternal(IProgress<double> progress, CancellationToken cancellationToken, bool recursive, bool refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
|
||||
{
|
||||
CreateResolveArgs(directoryService);
|
||||
ResetDynamicChildren();
|
||||
|
||||
return NullTaskResult;
|
||||
}
|
||||
@@ -150,8 +149,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
.ToList();
|
||||
}
|
||||
|
||||
private IEnumerable<BaseItem> _actualChildren;
|
||||
|
||||
/// <summary>
|
||||
/// Our children are actually just references to the ones in the physical root...
|
||||
/// </summary>
|
||||
@@ -170,10 +167,5 @@ namespace MediaBrowser.Controller.Entities
|
||||
.SelectMany(c => c.Children)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public void ResetDynamicChildren()
|
||||
{
|
||||
_actualChildren = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user