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",
|
DPRINTF(E_LOG,L_MAIN,"Serving %d songs. Startup complete in %d seconds\n",
|
||||||
song_count,end_time-start_time);
|
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 */
|
config.reload = 1; /* force a reload on start */
|
||||||
|
|
||||||
while(!config.stop) {
|
while(!config.stop) {
|
||||||
|
|
Loading…
Reference in New Issue