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

* revert to Groovy 2.0.2 to fix scripting compatibility issues

This commit is contained in:
Reinhard Pointner 2012-11-05 09:41:48 +00:00
parent 46f5e98c55
commit 6879a1336e
3 changed files with 17 additions and 15 deletions

View File

@ -81,7 +81,8 @@ osdb_tsv.getText('UTF-8').eachLine{
osdb = osdb.findAll{ it[0] <= 9999999 && it[2] >= 1930 && it[1] =~ /^[A-Z0-9]/ && it[1] =~ /[\p{Alpha}]{3}/ }.collect{ [it[0].pad(7), it[1], it[2]] } osdb = osdb.findAll{ it[0] <= 9999999 && it[2] >= 1930 && it[1] =~ /^[A-Z0-9]/ && it[1] =~ /[\p{Alpha}]{3}/ }.collect{ [it[0].pad(7), it[1], it[2]] }
osdb.each{ row -> parallel(osdb.collect{ row ->
return {
// update new data // update new data
if (!imdb_ids.contains(row[0])) { if (!imdb_ids.contains(row[0])) {
// get original title and english title // get original title and english title
@ -96,6 +97,7 @@ osdb.each{ row ->
} }
} }
} }
}, 20)
// save updated imdb data // save updated imdb data
imdb.collect{ it.join('\t') }.sort().join('\n').saveAs(imdb_tsv) imdb.collect{ it.join('\t') }.sort().join('\n').saveAs(imdb_tsv)

Binary file not shown.

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<update> <update>
<name>FileBot 3.1</name> <name>FileBot 3.1</name>
<revision>1292</revision> <revision>1296</revision>
<title>New updates available</title> <title>New updates available</title>
<message><![CDATA[<html> <message><![CDATA[<html>
<b>FileBot 3.1</b><br> <b>FileBot 3.1 (r1296)</b><br>
This release features:<br> This release features:<br>
+ Enhanced TheTVDB series lookup<br> + Enhanced TheTVDB series lookup<br>
+ Improved episode matching<br> + Improved episode matching<br>