mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Import will skip any video file under 40MB
This commit is contained in:
@@ -110,8 +110,8 @@ namespace NzbDrone.Core.Providers
|
||||
|
||||
long size = _diskProvider.GetSize(filePath);
|
||||
|
||||
//If Size is less than 40MB and contains sample. Check for Size to ensure its not an episode with sample in the title
|
||||
if (size < Constants.IgnoreFileSize && filePath.ToLower().Contains("sample"))
|
||||
//Skip any file under 40MB - New samples don't even have sample in the name...
|
||||
if (size < Constants.IgnoreFileSize)
|
||||
{
|
||||
Logger.Trace("[{0}] appears to be a sample. skipping.", filePath);
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user