* bit more broad series-name query detection

This commit is contained in:
Reinhard Pointner 2013-05-21 08:44:26 +00:00
parent fececd92ee
commit ec83540afa
1 changed files with 4 additions and 1 deletions

View File

@ -347,7 +347,10 @@ public class MediaDetection {
} }
try { try {
matches = stripReleaseInfo(matches, true); Collection<String> priorityMatchSet = new LinkedHashSet<String>();
priorityMatchSet.addAll(stripReleaseInfo(matches, true));
priorityMatchSet.addAll(stripReleaseInfo(matches, false));
matches = priorityMatchSet;
} catch (Exception e) { } catch (Exception e) {
Logger.getLogger(MediaDetection.class.getClass().getName()).log(Level.WARNING, "Failed to clean matches: " + e.getMessage(), e); Logger.getLogger(MediaDetection.class.getClass().getName()).log(Level.WARNING, "Failed to clean matches: " + e.getMessage(), e);
} }