diff --git a/src/common.c b/src/common.c index beb33b74..1b5c5157 100644 --- a/src/common.c +++ b/src/common.c @@ -234,7 +234,7 @@ void update_stuff() if (NEED(INFO_MPD)) { if (!mpd_timed_thread) { init_mpd_stats(&info); - mpd_timed_thread = timed_thread_create((void*)update_mpd, (void*) NULL, 500000); + mpd_timed_thread = timed_thread_create((void*)update_mpd, (void*) NULL, update_interval * 1000000); if (!mpd_timed_thread) { ERR("Failed to create MPD timed thread"); }