* update data

This commit is contained in:
Reinhard Pointner 2014-02-18 06:55:45 +00:00
parent 40b68ba6c9
commit 90c28cb484
2 changed files with 8 additions and 2 deletions

View File

@ -102,8 +102,8 @@ new File('omdb.txt').eachLine('Windows-1252'){
def name = line[2].replaceAll(/\s+/, ' ').trim() def name = line[2].replaceAll(/\s+/, ' ').trim()
def year = line[3].toInteger() def year = line[3].toInteger()
def runtime = line[5] def runtime = line[5]
def rating = tryQuietly{ line[11].toFloat() } ?: 0 def rating = tryQuietly{ line[12].toFloat() } ?: 0
def votes = tryQuietly{ line[12].replaceAll(/\D/, '').toInteger() } ?: 0 def votes = tryQuietly{ line[13].replaceAll(/\D/, '').toInteger() } ?: 0
if ((year >= 1970 && (runtime =~ /h/ || votes >= 200) && rating >= 1 && votes >= 50) || (year >= 1950 && votes >= 5000)) { if ((year >= 1970 && (runtime =~ /h/ || votes >= 200) && rating >= 1 && votes >= 50) || (year >= 1950 && votes >= 5000)) {
omdb << [imdbid.pad(7), name, year] omdb << [imdbid.pad(7), name, year]

View File

@ -302,6 +302,7 @@ BaCKToRG
BaCo BaCo
BaDTaStE BaDTaStE
BAF BAF
BaibaKo
BAJSKORV BAJSKORV
Baka-Anime Baka-Anime
Baka-Chi Baka-Chi
@ -350,6 +351,7 @@ BETAMAX
BF1 BF1
BFF BFF
BG BG
BgFr
BHATTI BHATTI
BiA BiA
BiDA BiDA
@ -1047,6 +1049,7 @@ HANGPUNG
HANNIBAL HANNIBAL
HANrel HANrel
HARMY HARMY
HarrHD
Haterman Haterman
Hatsuyuki Hatsuyuki
Hatsuyuki-Kaitou Hatsuyuki-Kaitou
@ -1235,6 +1238,7 @@ israntxa
iSUBS iSUBS
iTA iTA
ITG ITG
iTOONZ
iTSDVD iTSDVD
ITZ ITZ
IY-A_Excal IY-A_Excal
@ -1934,6 +1938,7 @@ RMx
RoCK&BlueLadyRG RoCK&BlueLadyRG
RoCKRioT RoCKRioT
RoFL RoFL
ROGER
ROOR ROOR
ROTATE ROTATE
ROUGH ROUGH
@ -2097,6 +2102,7 @@ snavE
SNCo SNCo
Sneak Sneak
SnF SnF
SNOW
SNS SNS
SNUGGLER SNUGGLER
SoCkS SoCkS