1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-05 00:45:06 -05:00

* make series lookup more strict (must begin with)

This commit is contained in:
Reinhard Pointner 2012-02-13 08:35:34 +00:00
parent e3423847b9
commit 05417b1b39

View File

@ -182,7 +182,7 @@ public class MediaDetection {
public static Collection<TheTVDBSearchResult> matchSeriesByName(String... names) throws Exception {
final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(1);
final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(0);
final Map<TheTVDBSearchResult, String> matchMap = new HashMap<TheTVDBSearchResult, String>();
for (final TheTVDBSearchResult entry : releaseInfo.getSeriesList()) {
@ -210,7 +210,7 @@ public class MediaDetection {
public static Collection<AnidbSearchResult> matchAnimeByName(String... names) throws Exception {
final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(1);
final HighPerformanceMatcher nameMatcher = new HighPerformanceMatcher(0);
final Map<AnidbSearchResult, String> matchMap = new HashMap<AnidbSearchResult, String>();
for (final AnidbSearchResult entry : WebServices.AniDB.getAnimeTitles()) {