From 790ee3501cffe1cdfdf13e427fb699ccdc2c0ada Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 15 Jan 2017 18:22:48 +0000 Subject: WinGui: Pause on Low Diskspace is for local drives only. Disabling check for UNC paths. #527 --- win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs index e9cce2b32..5b2250f64 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs @@ -649,7 +649,7 @@ namespace HandBrakeWPF.Services.Queue if (this.userSettingService.GetUserSetting(UserSettingConstants.PauseOnLowDiskspace)) { string drive = Path.GetPathRoot(job.Task.Destination); - if (drive != null) + if (!string.IsNullOrEmpty(drive) && !drive.StartsWith("\\")) { DriveInfo c = new DriveInfo(drive); if (c.AvailableFreeSpace < this.userSettingService.GetUserSetting(UserSettingConstants.PauseOnLowDiskspaceLevel)) -- cgit v1.2.3