Don't do startup scan (unless requested) when scan_interval is set to 0

This commit is contained in:
Ron Pedde 2006-06-14 04:33:27 +00:00
parent 52809bb712
commit 97328767d8

View File

@ -490,6 +490,7 @@ int main(int argc, char *argv[]) {
DPRINTF(E_LOG,L_MAIN,"Scanned %d songs in %d seconds\n",song_count, DPRINTF(E_LOG,L_MAIN,"Scanned %d songs in %d seconds\n",song_count,
end_time-start_time); end_time-start_time);
if(conf_get_int("general","rescan_interval",0))
config.reload = 1; /* force a reload on start */ config.reload = 1; /* force a reload on start */
while(!config.stop) { while(!config.stop) {