1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

Improved logging

This commit is contained in:
Reinhard Pointner 2016-03-23 23:39:15 +00:00
parent 8b86e69a8f
commit e3644ec28a

View File

@ -430,6 +430,9 @@ public class MediaDetection {
}
}
// DEBUG
debug.finest(format("Series Name => %s %s", names, matches));
try {
Collection<String> priorityMatchSet = new LinkedHashSet<String>();
priorityMatchSet.addAll(stripReleaseInfo(matches, true));
@ -440,8 +443,12 @@ public class MediaDetection {
}
names.addAll(matches);
// don't allow duplicates
return getUniqueQuerySet(unids, names);
// filter out duplicates
List<String> querySet = getUniqueQuerySet(unids, names);
// DEBUG
debug.finest(format("Series Name => %s", querySet));
return querySet;
}
public static List<String> matchSeriesByMapping(Collection<File> files) throws Exception {