diff --git a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs index 76a8c0a73..5c8b63e44 100644 --- a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs +++ b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs @@ -35,12 +35,13 @@ namespace NzbDrone.Core.DiskSpace public List GetFreeSpace() { - var rootPaths = new List(); - rootPaths.AddRange(GetSeriesRootPaths()); - rootPaths.AddRange(GetDroneFactoryRootPaths()); - rootPaths.AddRange(GetFixedDisksRootPaths()); + var importantRootFolders = GetSeriesRootPaths().Concat(GetDroneFactoryRootPaths()).Distinct().ToList(); - return GetDiskSpace(rootPaths.Distinct()).ToList(); + var optionalRootFolders = GetFixedDisksRootPaths().Except(importantRootFolders).Distinct().ToList(); + + var diskSpace = GetDiskSpace(importantRootFolders).Concat(GetDiskSpace(optionalRootFolders, true)).ToList(); + + return diskSpace; } private IEnumerable GetSeriesRootPaths()