mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
increased delete folder limit size to 10MB
This commit is contained in:
parent
931bb2ea12
commit
68321c98d0
3 changed files with 11 additions and 4 deletions
|
@ -92,7 +92,7 @@ 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 < 40000000 && filePath.ToLower().Contains("sample"))
|
||||
if (size < 40.Megabytes() && filePath.ToLower().Contains("sample"))
|
||||
{
|
||||
Logger.Trace("[{0}] appears to be a sample. skipping.", filePath);
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue