mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Include 'Sample' Directory in Ignored
This commit is contained in:
parent
c04f26b7f1
commit
c84a9d6612
@ -166,10 +166,11 @@ public void should_not_scan_various_extras_subfolders()
|
||||
Path.Combine(_movie.Path, "Deleted Scenes", "file2.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Featurettes", "file3.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Interviews", "file4.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Samples", "file5.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Scenes", "file6.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Shorts", "file7.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Trailers", "file8.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Sample", "file5.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Samples", "file6.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Scenes", "file7.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Shorts", "file8.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Trailers", "file9.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "The Count of Monte Cristo (2002) (1080p BluRay x265 10bit Tigole).mkv").AsOsAgnostic(),
|
||||
});
|
||||
|
||||
|
@ -62,7 +62,7 @@ public DiskScanService(IDiskProvider diskProvider,
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
private static readonly Regex ExcludedExtrasSubFolderRegex = new Regex(@"(?:\\|\/|^)(?:extras|extrafanart|behind the scenes|deleted scenes|featurettes|interviews|scenes|samples|shorts|trailers)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex ExcludedExtrasSubFolderRegex = new Regex(@"(?:\\|\/|^)(?:extras|extrafanart|behind the scenes|deleted scenes|featurettes|interviews|scenes|sample[s]?|shorts|trailers)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex ExcludedSubFoldersRegex = new Regex(@"(?:\\|\/|^)(?:@eadir|\.@__thumb|plex versions|\.[^\\/]+)(?:\\|\/)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex ExcludedFilesRegex = new Regex(@"^\._|^Thumbs\.db$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user