From 97328767d8aa79fe8ea1ffc15f157b3c6568ee08 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Wed, 14 Jun 2006 04:33:27 +0000 Subject: [PATCH] Don't do startup scan (unless requested) when scan_interval is set to 0 --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 9f1b1a19..8dc24ac1 100644 --- a/src/main.c +++ b/src/main.c @@ -490,7 +490,8 @@ int main(int argc, char *argv[]) { DPRINTF(E_LOG,L_MAIN,"Scanned %d songs in %d seconds\n",song_count, end_time-start_time); - config.reload = 1; /* force a reload on start */ + if(conf_get_int("general","rescan_interval",0)) + config.reload = 1; /* force a reload on start */ while(!config.stop) { if((conf_get_int("general","rescan_interval",0) &&