mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
add root dir now returns list of unmapped folders.
This commit is contained in:
parent
78d007791f
commit
023eaca678
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ public virtual RootDir Add(RootDir rootDir)
|
|||
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 a new issue