* ignore auto-excludes (file =~ trailer|sample) when forcing manual-input-mode

This commit is contained in:
Reinhard Pointner 2014-09-19 13:02:40 +00:00
parent 8d35ad5b2c
commit 0e8fb7235e
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class EpisodeListMatcher implements AutoCompleteMatcher {
}
// ignore sample files
final List<File> fileset = filter(files, not(getClutterFileFilter()));
final List<File> fileset = autodetection ? filter(files, not(getClutterFileFilter())) : files;
// focus on movie and subtitle files
final List<File> mediaFiles = filter(fileset, VIDEO_FILES, SUBTITLE_FILES);

View File

@ -70,7 +70,7 @@ class MovieHashMatcher implements AutoCompleteMatcher {
}
// ignore sample files
List<File> fileset = filter(files, not(getClutterFileFilter()));
List<File> fileset = autodetect ? filter(files, not(getClutterFileFilter())) : files;
// handle movie files
Set<File> movieFiles = new TreeSet<File>(filter(fileset, VIDEO_FILES));