From 0de1f3f17a2dd94e0edccac23705c06985d1d888 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 18 Sep 2016 22:24:32 -0700 Subject: [PATCH] Fixed: Ignore extrafanart subfolder when scanning for extra files --- src/NzbDrone.Core/MediaFiles/DiskScanService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/DiskScanService.cs b/src/NzbDrone.Core/MediaFiles/DiskScanService.cs index a7a6d8ace..84a75e8e6 100644 --- a/src/NzbDrone.Core/MediaFiles/DiskScanService.cs +++ b/src/NzbDrone.Core/MediaFiles/DiskScanService.cs @@ -60,7 +60,7 @@ public DiskScanService(IDiskProvider diskProvider, _logger = logger; } - private static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(extras|@eadir|\..+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase); + private static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(extras|@eadir|extrafanart|\..+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|Thumbs\.db", RegexOptions.Compiled | RegexOptions.IgnoreCase); public void Scan(Series series)