Skip to content

Commit

Permalink
Fixed: Ignore .@__thumb folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick committed Oct 14, 2020
1 parent 319e1c4 commit 88122be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/MediaFiles/DiskScanService.cs
Expand Up @@ -33,7 +33,7 @@ public class DiskScanService :
IDiskScanService,
IExecute<RescanFoldersCommand>
{
public static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(?:extras|@eadir|extrafanart|plex versions|\.[^\\/]+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(?:extras|@eadir|\.@__thumb|extrafanart|plex versions|\.[^\\/]+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|^Thumbs\.db$|^\.DS_store$|\.partial~$", RegexOptions.Compiled | RegexOptions.IgnoreCase);

private readonly IDiskProvider _diskProvider;
Expand Down

0 comments on commit 88122be

Please sign in to comment.