Experiment with artwork thumbnail support

This commit is contained in:
Reinhard Pointner 2019-05-03 02:59:49 +07:00
parent 46084b5576
commit 01dc52af80
1 changed files with 1 additions and 2 deletions

View File

@ -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
}