mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
Don't do startup scan (unless requested) when scan_interval is set to 0
This commit is contained in:
parent
52809bb712
commit
97328767d8
@ -490,6 +490,7 @@ int main(int argc, char *argv[]) {
|
||||
DPRINTF(E_LOG,L_MAIN,"Scanned %d songs in %d seconds\n",song_count,
|
||||
end_time-start_time);
|
||||
|
||||
if(conf_get_int("general","rescan_interval",0))
|
||||
config.reload = 1; /* force a reload on start */
|
||||
|
||||
while(!config.stop) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user