Fixed: Rescan Folder task ignores .jpg, .nfo, and .lrc files which were causing slow rescans on the scheduled task

pull/4514/head
PearsonFlyer 4 months ago
parent 49b404d8fa
commit bcd1ab7217

@ -35,7 +35,7 @@ namespace NzbDrone.Core.MediaFiles
IExecute<RescanFoldersCommand>
{
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);
public static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|^Thumbs\.db$|^\.DS_store$|\.partial~$|\.jpg|\.nfo|\.lrc", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private readonly IConfigService _configService;
private readonly IDiskProvider _diskProvider;

Loading…
Cancel
Save