From 023eaca678ec8efbeae29514a5aec6c00dc3d506 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Thu, 31 Jan 2013 14:42:04 -0800 Subject: [PATCH] add root dir now returns list of unmapped folders. --- NzbDrone.Core/Providers/RootDirProvider.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NzbDrone.Core/Providers/RootDirProvider.cs b/NzbDrone.Core/Providers/RootDirProvider.cs index aec0ceefa..b28a4f03a 100644 --- a/NzbDrone.Core/Providers/RootDirProvider.cs +++ b/NzbDrone.Core/Providers/RootDirProvider.cs @@ -41,6 +41,7 @@ namespace NzbDrone.Core.Providers var id = _database.Insert(rootDir); rootDir.Id = Convert.ToInt32(id); rootDir.FreeSpace = _diskProvider.FreeDiskSpace(new DirectoryInfo(rootDir.Path)); + rootDir.UnmappedFolders = GetUnmappedFolders(rootDir.Path); return rootDir; }