mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
add root dir now returns list of unmapped folders.
This commit is contained in:
@@ -41,6 +41,7 @@ namespace NzbDrone.Core.Providers
|
|||||||
var id = _database.Insert(rootDir);
|
var id = _database.Insert(rootDir);
|
||||||
rootDir.Id = Convert.ToInt32(id);
|
rootDir.Id = Convert.ToInt32(id);
|
||||||
rootDir.FreeSpace = _diskProvider.FreeDiskSpace(new DirectoryInfo(rootDir.Path));
|
rootDir.FreeSpace = _diskProvider.FreeDiskSpace(new DirectoryInfo(rootDir.Path));
|
||||||
|
rootDir.UnmappedFolders = GetUnmappedFolders(rootDir.Path);
|
||||||
|
|
||||||
return rootDir;
|
return rootDir;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user