From a3db0af585075a1d473beebc18e6a6218b78fbb3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 12 Nov 2015 12:20:25 +0000 Subject: [PATCH] * update build-data filter --- build-data/BuildData.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-data/BuildData.groovy b/build-data/BuildData.groovy index 393bd186..b4900e84 100755 --- a/build-data/BuildData.groovy +++ b/build-data/BuildData.groovy @@ -124,7 +124,7 @@ new File('omdbMovies.txt').eachLine('Windows-1252'){ def rating = tryQuietly{ line[12].toFloat() } ?: 0 def votes = tryQuietly{ line[13].replaceAll(/\D/, '').toInteger() } ?: 0 - if (!(genres =~ /Short/ || votes <= 50 || rating <= 2) && ((year >= 1970 && (runtime =~ /(\d.h)|(\d{2,3}.min)/ || votes >= 500)) || (year >= 1950 && votes >= 20000))) { + if (!(genres =~ /Short/ || votes <= 100 || rating <= 2) && ((year >= 1970 && (runtime =~ /(\d.h)|(\d{2,3}.min)/ || votes >= 1000)) || (year >= 1950 && votes >= 20000))) { omdb << [imdbid.pad(7), name, year] } }