mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* update index for recent movies more regularly to catch new alternative names quickly
This commit is contained in:
parent
5614f79341
commit
80faeb960d
@ -130,7 +130,7 @@ def tmdb_index = csv(tmdb_txt, '\t', 1, [0..-1])
|
||||
def tmdb = []
|
||||
omdb.each{ m ->
|
||||
def sync = System.currentTimeMillis()
|
||||
if (tmdb_index.containsKey(m[0]) && (sync - tmdb_index[m[0]][0].toLong()) < (180 * 24 * 60 * 60 * 1000L) ) {
|
||||
if (tmdb_index.containsKey(m[0]) && (sync - tmdb_index[m[0]][0].toLong()) < ((m[2].toInteger() < 2000 ? 360 : 120) * 24 * 60 * 60 * 1000L) ) {
|
||||
tmdb << tmdb_index[m[0]]
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user