mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-26 08:50:11 -04: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);
|
db_purge_cruft(start);
|
||||||
|
|
||||||
DPRINTF(E_LOG, L_SCAN, "Bulk library scan completed in %.f sec\n", difftime(end, 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
|
else
|
||||||
bulk_scan(F_SCAN_BULK);
|
bulk_scan(F_SCAN_BULK);
|
||||||
|
|
||||||
db_hook_post_scan();
|
|
||||||
|
|
||||||
if (!scan_exit)
|
if (!scan_exit)
|
||||||
{
|
{
|
||||||
/* Enable inotify */
|
/* Enable inotify */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user