Experiment with artwork thumbnail support
This commit is contained in:
parent
46084b5576
commit
01dc52af80
|
@ -45,12 +45,11 @@ void createIndexFile(db) {
|
|||
|
||||
void build(ids, section, db, query) {
|
||||
ids.each{ id ->
|
||||
log.info "[$id]"
|
||||
|
||||
def original = getOriginalPath(section, id)
|
||||
def thumb = getThumbnailPath(section, id)
|
||||
|
||||
if (thumb.exists() || original.length() == 0 && original.exists()) {
|
||||
log.finest "[SKIP] $id"
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue