mirror of
https://github.com/Radarr/Radarr
synced 2025-03-03 10:26:54 +00:00
Fixed: Revert GetAllMovies call to AllMoviePaths
This commit is contained in:
parent
41d7bf87c0
commit
5ddc63c673
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ public RootFolderCheck(IMovieService movieService, IDiskProvider diskProvider, I
|
|||
|
||||
public override HealthCheck Check()
|
||||
{
|
||||
var rootFolders = _movieService.GetAllMovies()
|
||||
.Select(s => _rootFolderService.GetBestRootFolderPath(s.Path))
|
||||
var rootFolders = _movieService.AllMoviePaths()
|
||||
.Select(s => _rootFolderService.GetBestRootFolderPath(s))
|
||||
.Distinct();
|
||||
|
||||
var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s))
|
||||
|
|
Loading…
Reference in a new issue