mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 14:45:55 -05:00
Skip background scan if a foreground scan just happened
This commit is contained in:
parent
9436ce5aae
commit
5acac92603
@ -497,7 +497,7 @@ int main(int argc, char *argv[]) {
|
||||
DPRINTF(E_LOG,L_MAIN,"Serving %d songs. Startup complete in %d seconds\n",
|
||||
song_count,end_time-start_time);
|
||||
|
||||
if(conf_get_int("general","rescan_interval",0))
|
||||
if(conf_get_int("general","rescan_interval",0) && (!reload))
|
||||
config.reload = 1; /* force a reload on start */
|
||||
|
||||
while(!config.stop) {
|
||||
|
Loading…
Reference in New Issue
Block a user