From 0e8fb7235e5c2e406746441946111b8acfb8981c Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 19 Sep 2014 13:02:40 +0000 Subject: [PATCH] * ignore auto-excludes (file =~ trailer|sample) when forcing manual-input-mode --- source/net/filebot/ui/rename/EpisodeListMatcher.java | 2 +- source/net/filebot/ui/rename/MovieHashMatcher.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/ui/rename/EpisodeListMatcher.java b/source/net/filebot/ui/rename/EpisodeListMatcher.java index f8461ce0..e013ceed 100644 --- a/source/net/filebot/ui/rename/EpisodeListMatcher.java +++ b/source/net/filebot/ui/rename/EpisodeListMatcher.java @@ -176,7 +176,7 @@ class EpisodeListMatcher implements AutoCompleteMatcher { } // ignore sample files - final List fileset = filter(files, not(getClutterFileFilter())); + final List fileset = autodetection ? filter(files, not(getClutterFileFilter())) : files; // focus on movie and subtitle files final List mediaFiles = filter(fileset, VIDEO_FILES, SUBTITLE_FILES); diff --git a/source/net/filebot/ui/rename/MovieHashMatcher.java b/source/net/filebot/ui/rename/MovieHashMatcher.java index 2c4b35ce..e1c270d0 100644 --- a/source/net/filebot/ui/rename/MovieHashMatcher.java +++ b/source/net/filebot/ui/rename/MovieHashMatcher.java @@ -70,7 +70,7 @@ class MovieHashMatcher implements AutoCompleteMatcher { } // ignore sample files - List fileset = filter(files, not(getClutterFileFilter())); + List fileset = autodetect ? filter(files, not(getClutterFileFilter())) : files; // handle movie files Set movieFiles = new TreeSet(filter(fileset, VIDEO_FILES));