From 54603de373017a689547a53e03388200bce1d781 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 9 Sep 2015 09:51:11 +0000 Subject: [PATCH] * make it easier for shows to be considered "popular" to fix "Fear the Walking Dead" VS "The Walking Dead" issues --- source/net/filebot/similarity/EpisodeMetrics.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/net/filebot/similarity/EpisodeMetrics.java b/source/net/filebot/similarity/EpisodeMetrics.java index 1e308a51..54e0b29e 100644 --- a/source/net/filebot/similarity/EpisodeMetrics.java +++ b/source/net/filebot/similarity/EpisodeMetrics.java @@ -560,11 +560,8 @@ public enum EpisodeMetrics implements SimilarityMetric { if (object instanceof Episode) { SeriesInfo seriesInfo = ((Episode) object).getSeriesInfo(); if (seriesInfo != null && seriesInfo.getRating() != null && seriesInfo.getRatingCount() != null) { - if (seriesInfo.getRatingCount() >= 100) { - return (float) floor(seriesInfo.getRating() / 3) + 1; // BOOST POPULAR SHOWS - } - if (seriesInfo.getRatingCount() >= 10) { - return (float) floor(seriesInfo.getRating() / 3); // PUT INTO 3 GROUPS + if (seriesInfo.getRatingCount() >= 20) { + return (float) floor(seriesInfo.getRating() / 3); // BOOST POPULAR SHOWS and PUT INTO 3 GROUPS } if (seriesInfo.getRatingCount() >= 1) { return 0; // PENALIZE SHOWS WITH FEW RATINGS