Fix for less popular international shows (because we really need to know international alias names for these shows)
This commit is contained in:
parent
ec0b0038e6
commit
b8884e432f
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue