mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-17 21:26:13 -04:00
Return total space when adding new root folder
This commit is contained in:
@@ -120,7 +120,9 @@ namespace NzbDrone.Core.RootFolders
|
||||
_rootFolderRepository.Insert(rootFolder);
|
||||
|
||||
rootFolder.FreeSpace = _diskProvider.GetAvailableSpace(rootFolder.Path);
|
||||
rootFolder.TotalSpace = _diskProvider.GetTotalSize(rootFolder.Path);
|
||||
rootFolder.UnmappedFolders = GetUnmappedFolders(rootFolder.Path);
|
||||
|
||||
return rootFolder;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user