Require 100MB extra for import

This commit is contained in:
Mark McDowall
2013-08-08 09:24:23 -07:00
parent fca4d20046
commit 5fe78ba7bf
2 changed files with 11 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
var freeSpace = _diskProvider.GetAvilableSpace(destinationFilename);
if (freeSpace < localEpisode.Size)
if (freeSpace < localEpisode.Size + 100.Megabytes())
{
_logger.Warn("Not enough free space to import: {0}", localEpisode);
return false;