Fix for less popular international shows (because we really need to know international alias names for these shows)

This commit is contained in:
Reinhard Pointner 2017-01-26 03:29:43 +08:00
parent ec0b0038e6
commit b8884e432f
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ tvdb_updates.values().each{ update ->
def year = any{ xml.Series.FirstAired.text().match(/\d{4}/) as Integer }{ 0 } def year = any{ xml.Series.FirstAired.text().match(/\d{4}/) as Integer }{ 0 }
// only retrieve additional data for reasonably popular shows // only retrieve additional data for reasonably popular shows
if (imdbid && votes >= 5 && rating >= 4) { if (imdbid && votes >= 3 && rating >= 4) {
tryLogCatch{ tryLogCatch{
seriesNames += OMDb.getMovieDescriptor(new Movie(imdbid.match(/tt(\d+)/) as int), Locale.ENGLISH).getName() seriesNames += OMDb.getMovieDescriptor(new Movie(imdbid.match(/tt(\d+)/) as int), Locale.ENGLISH).getName()
} }