mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -05:00
Move db_analyze/db_hook_post_scan (credit @chme)
This commit is contained in:
parent
a5b2fbc0fe
commit
5a5163e699
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user