mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
GetPathRoot for DownloadedEpisodesFolder
This commit is contained in:
parent
d4fd731b34
commit
af74ea967b
@ -50,7 +50,7 @@ private IEnumerable<DiskSpace> GetDroneFactoryFreeSpace()
|
||||
{
|
||||
if (!String.IsNullOrWhiteSpace(_configService.DownloadedEpisodesFolder))
|
||||
{
|
||||
return GetDiskSpace(new[] { _configService.DownloadedEpisodesFolder });
|
||||
return GetDiskSpace(new[] { _diskProvider.GetPathRoot(_configService.DownloadedEpisodesFolder) });
|
||||
}
|
||||
|
||||
return new List<DiskSpace>();
|
||||
|
Loading…
Reference in New Issue
Block a user