mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[scan] bulk_scan() counter reset before processing any library dirs
This commit is contained in:
parent
55d5289c05
commit
76d35f5abc
@ -1032,6 +1032,7 @@ bulk_scan(int flags)
|
||||
dirstack = NULL;
|
||||
|
||||
lib = cfg_getsec(cfg, "library");
|
||||
counter = 0;
|
||||
|
||||
ndirs = cfg_size(lib, "directories");
|
||||
for (i = 0; i < ndirs; i++)
|
||||
@ -1061,7 +1062,6 @@ bulk_scan(int flags)
|
||||
continue;
|
||||
}
|
||||
|
||||
counter = 0;
|
||||
db_transaction_begin();
|
||||
|
||||
process_directories(deref, parent_id, flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user