add root dir now returns list of unmapped folders.

This commit is contained in:
Keivan Beigi 2013-01-31 14:42:04 -08:00 committed by kay.one
parent 78d007791f
commit 023eaca678
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}