mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 06:20:27 -04: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 original = getOriginalPath(section, id)
|
||||||
def thumb = getThumbnailPath(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"
|
log.finest "[SKIP] $id"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user