1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Defaulted hardlink to false again after an internal debate regarding some Windows peculiarities.

This commit is contained in:
Taloth Saldono 2014-11-20 23:34:48 +01:00
parent ebb2b12400
commit aa36c04d56
4 changed files with 7 additions and 5 deletions

View File

@ -214,7 +214,7 @@ public Boolean SkipFreeSpaceCheckWhenImporting
public Boolean CopyUsingHardlinks
{
get { return GetValueBoolean("CopyUsingHardlinks", true); }
get { return GetValueBoolean("CopyUsingHardlinks", false); }
set { SetValue("CopyUsingHardlinks", value); }
}

View File

@ -160,8 +160,9 @@ public override bool TryCreateHardLink(string source, string destination)
UnixFileSystemInfo.GetFileSystemEntry(source).CreateLink(destination);
return true;
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

View File

@ -110,8 +110,9 @@ public override bool TryCreateHardLink(string source, string destination)
{
return CreateHardLink(destination, source, IntPtr.Zero);
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

View File

@ -70,8 +70,8 @@
</label>
<span class="help-inline-checkbox">
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from seeding torrents"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are currently seeding. Temporarily disable seeding while using the Rename UI to rename existing episodes to work around it."/>
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from torrents that are still being seeded"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are being seeded. You may temporarily disable seeding and use Sonarr's rename function as a work around."/>
</span>
</div>
</div>