New: Filter .DS_Store files from parsing

Fixes #489
pull/6/head
Qstick 6 years ago
parent 328795cb1f
commit e0108352c8

@ -64,7 +64,7 @@ namespace NzbDrone.Core.MediaFiles
_logger = logger;
}
private static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(?:extras|@eadir|extrafanart|plex versions|\.[^\\/]+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|^Thumbs\.db$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|^Thumbs\.db$|^\.DS_store$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public void Scan(Artist artist)
{

Loading…
Cancel
Save