1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 14:55:09 -05:00

* DO NOT MAP BY MOVIE NAME ONLY, WE NEED NAME+YEAR!!!

This commit is contained in:
Reinhard Pointner 2012-07-16 10:02:03 +00:00
parent 03d299c67b
commit bbe5e27339

View File

@ -80,7 +80,7 @@ imdb.collect{ it.join('\t') }.join('\n').saveAs(imdb_tsv)
def movies = imdb.findAll{ it.size() >= 3 && !it[1].startsWith('"') } def movies = imdb.findAll{ it.size() >= 3 && !it[1].startsWith('"') }
def movieSorter = new TreeMap(String.CASE_INSENSITIVE_ORDER) def movieSorter = new TreeMap(String.CASE_INSENSITIVE_ORDER)
movies.each{ movieSorter.put(it[1], it) } movies.each{ movieSorter.put(it[1]+it[2], it) }
movies = movieSorter.values().collect{ it.join('\t') } movies = movieSorter.values().collect{ it.join('\t') }
gz(movies_out, movies) gz(movies_out, movies)