From 05417b1b3977a76cfb4e79040dff16e18f762d22 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 13 Feb 2012 08:35:34 +0000 Subject: [PATCH] * make series lookup more strict (must begin with) --- source/net/sourceforge/filebot/media/MediaDetection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/media/MediaDetection.java b/source/net/sourceforge/filebot/media/MediaDetection.java index 399cb699..dc7de48a 100644 --- a/source/net/sourceforge/filebot/media/MediaDetection.java +++ b/source/net/sourceforge/filebot/media/MediaDetection.java @@ -182,7 +182,7 @@ public class MediaDetection { public static Collection matchSeriesByName(String... names) throws Exception { - final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(1); + final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(0); final Map matchMap = new HashMap(); for (final TheTVDBSearchResult entry : releaseInfo.getSeriesList()) { @@ -210,7 +210,7 @@ public class MediaDetection { public static Collection matchAnimeByName(String... names) throws Exception { - final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(1); + final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(0); final Map matchMap = new HashMap(); for (final AnidbSearchResult entry : WebServices.AniDB.getAnimeTitles()) {