mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-14 05:15:03 -05:00
Check for updates every 90 days
This commit is contained in:
parent
3acc1a947c
commit
2078bcc1b0
@ -41,7 +41,12 @@ void build(ids, section, db, query) {
|
||||
def original = getOriginalPath(section, id)
|
||||
def thumb = getThumbnailPath(section, id)
|
||||
|
||||
if (thumb.exists() || original.length() == 0 && original.exists()) {
|
||||
if (thumb.exists()) {
|
||||
log.finest "[SKIP] $id"
|
||||
return
|
||||
}
|
||||
|
||||
if (original.length() == 0 && original.exists() && System.currentTimeMillis() - original.lastModified() < 90 * 24 * 60 * 60 * 1000) {
|
||||
log.finest "[SKIP] $id"
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user