mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 07:22:35 +01:00
add root dir now returns list of unmapped folders.
This commit is contained in:
parent
78d007791f
commit
023eaca678
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user