Fixed: Revert GetAllMovies call to AllMoviePaths

pull/4415/head
Qstick 5 years ago
parent 41d7bf87c0
commit 5ddc63c673

@ -26,8 +26,8 @@ namespace NzbDrone.Core.HealthCheck.Checks
public override HealthCheck Check() public override HealthCheck Check()
{ {
var rootFolders = _movieService.GetAllMovies() var rootFolders = _movieService.AllMoviePaths()
.Select(s => _rootFolderService.GetBestRootFolderPath(s.Path)) .Select(s => _rootFolderService.GetBestRootFolderPath(s))
.Distinct(); .Distinct();
var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s)) var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s))

Loading…
Cancel
Save