diff options
author | sr55 <[email protected]> | 2017-01-15 18:22:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-15 18:22:48 +0000 |
commit | 790ee3501cffe1cdfdf13e427fb699ccdc2c0ada (patch) | |
tree | 5d2da51acf075cc3855d5ddb6b68b333cc20007a /win/CS/HandBrakeWPF | |
parent | 13fb49f762840ebecdcd06e37b4ceed7154d56d8 (diff) |
WinGui: Pause on Low Diskspace is for local drives only. Disabling check for UNC paths. #527
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<bool>(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<long>(UserSettingConstants.PauseOnLowDiskspaceLevel))
|