Move db_analyze/db_hook_post_scan (credit @chme)

This commit is contained in:
ejurgensen 2014-05-11 23:17:29 +02:00
parent a5b2fbc0fe
commit 5a5163e699

View File

@ -1006,6 +1006,9 @@ bulk_scan(int flags)
db_purge_cruft(start);
DPRINTF(E_LOG, L_SCAN, "Bulk library scan completed in %.f sec\n", difftime(end, start));
DPRINTF(E_DBG, L_SCAN, "Running post library scan jobs\n");
db_hook_post_scan();
}
}
@ -1052,8 +1055,6 @@ filescanner(void *arg)
else
bulk_scan(F_SCAN_BULK);
db_hook_post_scan();
if (!scan_exit)
{
/* Enable inotify */