1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-12 06:18:01 -05: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 { try {
Collection<String> priorityMatchSet = new LinkedHashSet<String>(); Collection<String> priorityMatchSet = new LinkedHashSet<String>();
priorityMatchSet.addAll(stripReleaseInfo(matches, true)); priorityMatchSet.addAll(stripReleaseInfo(matches, true));
@ -440,8 +443,12 @@ public class MediaDetection {
} }
names.addAll(matches); names.addAll(matches);
// don't allow duplicates // filter out duplicates
return getUniqueQuerySet(unids, names); 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 { public static List<String> matchSeriesByMapping(Collection<File> files) throws Exception {