1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-09 12:58:08 -05:00

Don't cache video properties forever

This commit is contained in:
Reinhard Pointner 2019-02-05 12:56:37 +07:00
parent 42d678527b
commit 241931f28b

View File

@ -13,6 +13,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
@ -198,7 +199,7 @@ public enum SubtitleMetrics implements SimilarityMetric {
return emptyMap(); return emptyMap();
}); });
} catch (ExecutionException e) { } catch (ExecutionException e) {
debug.severe(cause("Failed to read subtitle properties", e)); debug.log(Level.SEVERE, e, e::toString);
} }
return emptyMap(); return emptyMap();
} }